OSDN Git Service

Tweak fmgrtab generation so that the F_XXX macros that give OIDs for
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 May 2000 20:18:30 +0000 (20:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 May 2000 20:18:30 +0000 (20:18 +0000)
commita030113197005635bb6b36203f67b777ca086e22
treed62d713a05c441255a07e88cc5f2fa35e375f575
parent22a517a40c29ec421db8ebd8b1eb17e50b76b406
Tweak fmgrtab generation so that the F_XXX macros that give OIDs for
built-in procedures are named after the prosrc field of pg_proc (ie,
the actual C function name), not the proname field.  This did not use
to make a difference back when the two were always the same, but in the
presence of overloaded proname values we'd best try to use the C name
instead.  AFAICT this change affects no existing code, but it is
necessary to be able to get at some built-in functions that no macro
was being generated for before.
src/backend/utils/Gen_fmgrtab.sh.in