]> granicus.if.org Git - postgresql/commit
Restore the primacy of postgres.h in plpython.c.
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 4 Aug 2011 17:05:32 +0000 (13:05 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 4 Aug 2011 17:05:32 +0000 (13:05 -0400)
commita11cf4334138c3af8504c71a091b4f5c317776ef
tree898f7d416366d64b007d52b4577eed06f4522cf0
parent84e37126770dd6de903dad88ce150a49b63b5ef9
Restore the primacy of postgres.h in plpython.c.

To avoid having the python headers hijack various definitions,
we now include them after all the system headers we want, having
first undefined some of the things they want to define. After that's
done we restore the things they scribbled on that matter, namely our
snprintf and vsnprintf macros, if we're using them.
src/pl/plpython/plpython.c