head	1.6;
access;
symbols
	REL7_1_2:1.4
	REL7_1_STABLE:1.4.0.2
	REL7_1_BETA:1.4
	REL7_1_BETA3:1.4
	REL7_1_BETA2:1.4
	REL7_1:1.4
	REL7_0_PATCHES:1.3.0.4
	REL7_0:1.3
	REL6_5_PATCHES:1.3.0.2
	REL6_5:1.3
	REL6_4:1.1.0.2;
locks; strict;
comment	@# @;


1.6
date	2001.06.22.17.48.39;	author petere;	state dead;
branches;
next	1.5;

1.5
date	2001.06.20.11.19.56;	author darcy;	state Exp;
branches;
next	1.4;

1.4
date	2000.10.02.03.27.27;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	99.05.17.06.15.27;	author momjian;	state Exp;
branches;
next	1.2;

1.2
date	99.05.10.16.10.42;	author momjian;	state dead;
branches;
next	1.1;

1.1
date	98.12.17.01.43.03;	author momjian;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	98.12.17.01.43.38;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Include catalog/pg_type.h instead of manually extracting the interesting
oid values.
@
text
@#! /usr/bin/env 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', 'NUMERICOID'):
		print l,
@


1.5
log
@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.
@
text
@@


1.4
log
@Update for PyGreSQL 3.0, from D'Arcy J.M. Cain
@
text
@d10 1
a10 1
	if tokens[1] in ('CASHOID', 'INT2OID', 'INT4OID', 'OIDOID', 'FLOAT4OID', 'FLOAT8OID'):
@


1.3
log
@Re-add python.
@
text
@d1 1
a1 1
#! /usr/local/bin/python
@


1.2
log
@Update to PyGreSQL 2.3.
@
text
@@


1.1
log
@Upgrade to Pygress 2.2.
@
text
@@


1.1.2.1
log
@Upgrade to Pygress 2.2.
@
text
@@

