#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh.in,v 1.2 1998/10/28 19:38:46 tgl Exp $
+# $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh.in,v 1.3 1999/06/04 21:12:06 tgl Exp $
#
# NOTES
# non-essential whitespace is removed from the generated file.
shift
done
-# Get NAMEDATALEN and OIDNAMELEN from postgres_ext.h
+# Get NAMEDATALEN from postgres_ext.h
NAMEDATALEN=`grep '#define.*NAMEDATALEN' ../../include/postgres_ext.h | awk '{ print $3 }'`
-OIDNAMELEN=`grep '#define.*OIDNAMELEN' ../../include/postgres_ext.h | awk '{ print $3 }'`
# ----------------
# strip comments and trash from .h before we generate
-e "s/^NameData/\name/g" \
-e "s/(NameData/(name/g" \
-e "s/(Oid/(oid/g" \
- -e "s/NAMEDATALEN/$NAMEDATALEN/g" \
- -e "s/OIDNAMELEN/$OIDNAMELEN/g" | \
-awk '
+ -e "s/NAMEDATALEN/$NAMEDATALEN/g" \
+| awk '
# ----------------
# now use awk to process remaining .h file..
#
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/initlocation/Attic/Makefile,v 1.6 1998/08/22 05:19:25 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/initlocation/Attic/Makefile,v 1.7 1999/06/04 21:12:06 tgl Exp $
#
#-------------------------------------------------------------------------
SRCDIR= ../..
include ../../Makefile.global
-SEDSCRIPT= \
- -e "s^PG_OPT_NAMEDATALEN_PARAM^$(NAMEDATALEN)^g" \
- -e "s^PG_OPT_OIDNAMELEN_PARAM^$(OIDNAMELEN)^g"
-
all: initlocation
initlocation: initlocation.sh
* use header files that are otherwise internal to Postgres to interface
* with the backend.
*
- * $Id: postgres_ext.h,v 1.3 1999/02/13 23:20:47 momjian Exp $
+ * $Id: postgres_ext.h,v 1.4 1999/06/04 21:12:07 tgl Exp $
*
*-------------------------------------------------------------------------
*/
*/
#define NAMEDATALEN 32
-/* OIDNAMELEN should be set to NAMEDATALEN + sizeof(Oid) */
-#define OIDNAMELEN 36
-
#endif