aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-01-23 23:07:13 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-01-23 23:07:13 -0500
commit434e6e1484418c55561914600de9e180fc408378 (patch)
tree7b4b1bfc98a78518322ab2fc1266da956dc166eb /src/backend/executor/nodeModifyTable.c
parente0a0deca389849383ff6337a488300eb22f31cef (diff)
downloadpostgresql-434e6e1484418c55561914600de9e180fc408378.tar.gz
postgresql-434e6e1484418c55561914600de9e180fc408378.zip
Improve implementation of pg_attribute_always_inline.
Avoid compiler warnings on MSVC (which doesn't want to see both __forceinline and inline) and ancient GCC (which doesn't have __attribute__((always_inline))). Don't force inline-ing when building at -O0, as the programmer is probably hoping for exact source-to-object-line correspondence in that case. (For the moment this only works for GCC; maybe we can extend it later.) Make pg_attribute_always_inline be syntactically a drop-in replacement for inline, rather than an additional wart. And improve the comments. Thomas Munro and Michail Nikolaev, small tweaks by me Discussion: https://postgr.es/m/32278.1514863068@sss.pgh.pa.us Discussion: https://postgr.es/m/CANtu0oiYp74brgntKOxgg1FK5+t8uQ05guSiFU6FYz_5KUhr6Q@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions