Tweak fmgrtab generation so that the F_XXX macros that give OIDs for

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a030113197005635bb6b36203f67b777ca086e22
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-05-29T20:18:30Z
Releases: 7.1.1
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.

Files

PathChange+/−
src/backend/utils/Gen_fmgrtab.sh.in modified +13 −8