diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-06-23 17:54:30 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-06-23 17:54:30 +0000 |
commit | eeee06919f3f8368fa48c6ceb7ece85a5562bc19 (patch) | |
tree | 5df66847b14612dab9705c1a51646250a0a5cc32 /src/backend/utils/adt/oracle_compat.c | |
parent | dab421d2f0c5111f8549b90142e743b9c6e9e5e0 (diff) | |
download | postgresql-eeee06919f3f8368fa48c6ceb7ece85a5562bc19.tar.gz postgresql-eeee06919f3f8368fa48c6ceb7ece85a5562bc19.zip |
Fix Gen_fmgrtab.sh to not rely on hard-wired knowledge of the column numbers
in pg_proc. Also make it not emit duplicate extern declarations, and make it
a bit more bulletproof in some other small ways. Likewise fix the equally
hard-wired, and utterly undocumented, knowledge in the MSVC build scripts.
For testing purposes and perhaps other uses in future, pull out that portion
of the MSVC scripts into a standalone perl script equivalent to
Gen_fmgrtab.sh, and make it generate actually identical output, rather than
just more-or-less-the-same output.
Motivated by looking at Pavel's variadic function patch. Whether or not
that gets accepted, we can be sure that pg_proc's column set will change
again in the future; it's time to not have to deal with this gotcha.
Diffstat (limited to 'src/backend/utils/adt/oracle_compat.c')
0 files changed, 0 insertions, 0 deletions