aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/python
diff options
context:
space:
mode:
authorD'Arcy J.M. Cain <darcy@druid.net>2001-06-20 11:19:56 +0000
committerD'Arcy J.M. Cain <darcy@druid.net>2001-06-20 11:19:56 +0000
commit54e374c9e61b83e69801b682e8cb5581f643a92a (patch)
tree0b5d5098341c92e7d4e87e3dddd1d811d34f20c5 /src/interfaces/python
parent9c50a0047fcaaa2e9d85620418c71132461ac550 (diff)
downloadpostgresql-54e374c9e61b83e69801b682e8cb5581f643a92a.tar.gz
postgresql-54e374c9e61b83e69801b682e8cb5581f643a92a.zip
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.
Diffstat (limited to 'src/interfaces/python')
-rwxr-xr-xsrc/interfaces/python/mkdefines2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/python/mkdefines b/src/interfaces/python/mkdefines
index f023b3c748a..9f45b94eb64 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,