aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/heap/heapam.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2023-01-25 09:59:26 -0800
committerAndres Freund <andres@anarazel.de>2023-01-25 09:59:26 -0800
commit23c12329a755ad9c70135463d3f067241daf1dcc (patch)
tree437db4374e9376720c1165e4fd4f07b61cfce304 /src/backend/access/heap/heapam.c
parent3b4ac33254e1291f0b3c94f1cb770137c418ce2e (diff)
downloadpostgresql-23c12329a755ad9c70135463d3f067241daf1dcc.tar.gz
postgresql-23c12329a755ad9c70135463d3f067241daf1dcc.zip
plpython: Avoid the need to redefine *printf macros
Until now we undefined and then redefined a lot of *printf macros due to worries about conflicts with Python.h macro definitions. Current Python.h doesn't define any *printf macros, and older versions just defined snprintf, vsnprintf, guarded by #if defined(MS_WIN32) && !defined(HAVE_SNPRINTF). Thus we can replace the undefine/define section with a single #define HAVE_SNPRINTF 1 Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/20230124165814.2njc7gnvubn2amh6@awork3.anarazel.de
Diffstat (limited to 'src/backend/access/heap/heapam.c')
0 files changed, 0 insertions, 0 deletions