From: D'Arcy J.M. Cain Date: Wed, 20 Jun 2001 11:19:56 +0000 (+0000) Subject: Add NUMERICOID to this script. This script can be run occasionally to X-Git-Tag: REL7_2_BETA1~999 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54e374c9e61b83e69801b682e8cb5581f643a92a;p=postgresql 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. --- diff --git a/src/interfaces/python/mkdefines b/src/interfaces/python/mkdefines index f023b3c748..9f45b94eb6 100755 --- a/src/interfaces/python/mkdefines +++ b/src/interfaces/python/mkdefines @@ -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,