Replace some hard-wired OID constants with corresponding macros.

Looking again at commit 7cdb633c8, I wondered why we have hard-wired
"1034" for the OID of type aclitem[].  Some other entries in the same
array have numeric type OIDs as well.  This seems to be a hangover
from years ago when not every built-in pg_type entry had an OID macro.
But since we made genbki.pl responsible for generating these macros,
there are macros available for all these array types, so there's no
reason not to follow the project policy of never writing numeric OID
constants in C code.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/73dd7163c5d19f93b629d1ccd9d2a2de6e9667f6

Modified Files
--------------
src/backend/bootstrap/bootstrap.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Reply via email to