Add NUMERICOID to this script. This script can be run occasionally to

make sure that we are using the right #defines in pgmodule.c but the
OIDs are never actually expected to change.
This commit is contained in:
D'Arcy J.M. Cain 2001-06-20 11:19:56 +00:00
parent 9c50a0047f
commit 54e374c9e6
1 changed files with 1 additions and 1 deletions

View File

@ -7,5 +7,5 @@ for l in open("/usr/local/pgsql/src/include/catalog/pg_type.h").readlines():
tokens = string.split(l)
if len(tokens) == 0 or tokens[0] != "#define": continue
if tokens[1] in ('CASHOID', 'INT2OID', 'INT4OID', 'OIDOID', 'FLOAT4OID', 'FLOAT8OID'):
if tokens[1] in ('CASHOID', 'INT2OID', 'INT4OID', 'OIDOID', 'FLOAT4OID', 'FLOAT8OID', 'NUMERICOID'):
print l,