aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/python/mkdefines
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/python/mkdefines')
-rwxr-xr-xsrc/interfaces/python/mkdefines11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/interfaces/python/mkdefines b/src/interfaces/python/mkdefines
deleted file mode 100755
index fd5eb6f4cd7..00000000000
--- a/src/interfaces/python/mkdefines
+++ /dev/null
@@ -1,11 +0,0 @@
-#! /usr/local/bin/python
-
-import string
-
-# change this if you have it somewhere else
-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'):
- print l,