projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c50a00
)
Add NUMERICOID to this script. This script can be run occasionally to
author
D'Arcy J.M. Cain
Wed, 20 Jun 2001 11:19:56 +0000
(11:19 +0000)
committer
D'Arcy J.M. Cain
Wed, 20 Jun 2001 11:19:56 +0000
(11:19 +0000)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/python/mkdefines
b/src/interfaces/python/mkdefines
index f023b3c748a3eaeb7a55f02669d8fa0cd1bca178..9f45b94eb64007c1b6946eb4652f1d344c8beafe 100755
(executable)
--- 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,