From 54e374c9e61b83e69801b682e8cb5581f643a92a Mon Sep 17 00:00:00 2001 From: "D'Arcy J.M. Cain" Date: Wed, 20 Jun 2001 11:19:56 +0000 Subject: [PATCH] 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. --- src/interfaces/python/mkdefines | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.40.0