aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2024-11-27 15:43:18 +1300
committerThomas Munro <tmunro@postgresql.org>2024-11-27 15:48:13 +1300
commit1fd57e5bbf87d1229cf2725f0230755c1d886178 (patch)
treef85f4b8c06b58bd171afa7a58c068cf5d0030c4b /src/backend/executor/nodeModifyTable.c
parent2366211949a0122ccadd56a34085478ebcfb2f5e (diff)
downloadpostgresql-1fd57e5bbf87d1229cf2725f0230755c1d886178.tar.gz
postgresql-1fd57e5bbf87d1229cf2725f0230755c1d886178.zip
If a C23 compiler is detected, try asking for C17.
Branches before 16 can't be compiled with a C23 compiler (see deprecation warnings silenced by commit f9a56e72, and non-back-patchable changes made in 16 by commit 1c27d16e). Test __STDC_VERSION__, and if it's above C17 then try appending -std=gnu17. The test is done with the user's CFLAGS, so an acceptable language version can also be configured manually that way. This is done in branches 15 and older, back to 9.2, per policy of keeping them buildable with modern tools. Discussion: https://postgr.es/m/87o72eo9iu.fsf%40gentoo.org
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions