File tree Expand file tree Collapse file tree 3 files changed +6
-15
lines changed Expand file tree Collapse file tree 3 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 1010#
1111#
1212# IDENTIFICATION
13- # $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh.in,v 1.2 1998/10/28 19:38:46 tgl Exp $
13+ # $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh.in,v 1.3 1999/06/04 21:12:06 tgl Exp $
1414#
1515# NOTES
1616# non-essential whitespace is removed from the generated file.
@@ -52,9 +52,8 @@ while test $x -le $numargs ; do
5252 shift
5353done
5454
55- # Get NAMEDATALEN and OIDNAMELEN from postgres_ext.h
55+ # Get NAMEDATALEN from postgres_ext.h
5656NAMEDATALEN=` grep ' #define.*NAMEDATALEN' ../../include/postgres_ext.h | awk ' { print $3 }' `
57- OIDNAMELEN=` grep ' #define.*OIDNAMELEN' ../../include/postgres_ext.h | awk ' { print $3 }' `
5857
5958# ----------------
6059# strip comments and trash from .h before we generate
@@ -80,9 +79,8 @@ sed -e "s/;[ ]*$//g" \
8079 -e " s/^NameData/\name/g" \
8180 -e " s/(NameData/(name/g" \
8281 -e " s/(Oid/(oid/g" \
83- -e " s/NAMEDATALEN/$NAMEDATALEN /g" \
84- -e " s/OIDNAMELEN/$OIDNAMELEN /g" | \
85- awk '
82+ -e " s/NAMEDATALEN/$NAMEDATALEN /g" \
83+ | awk '
8684# ----------------
8785# now use awk to process remaining .h file..
8886#
Original file line number Diff line number Diff line change 77#
88#
99# IDENTIFICATION
10- # $Header: /cvsroot/pgsql/src/bin/initlocation/Attic/Makefile,v 1.6 1998/08/22 05:19:25 momjian Exp $
10+ # $Header: /cvsroot/pgsql/src/bin/initlocation/Attic/Makefile,v 1.7 1999/06/04 21:12:06 tgl Exp $
1111#
1212# -------------------------------------------------------------------------
1313
1414SRCDIR = ../..
1515include ../../Makefile.global
1616
17- SEDSCRIPT = \
18- -e "s^PG_OPT_NAMEDATALEN_PARAM^$(NAMEDATALEN ) ^g" \
19- -e "s^PG_OPT_OIDNAMELEN_PARAM^$(OIDNAMELEN ) ^g"
20-
2117all : initlocation
2218
2319initlocation : initlocation.sh
Original file line number Diff line number Diff line change 1616 * use header files that are otherwise internal to Postgres to interface
1717 * with the backend.
1818 *
19- * $Id: postgres_ext.h,v 1.3 1999/02/13 23:20:47 momjian Exp $
19+ * $Id: postgres_ext.h,v 1.4 1999/06/04 21:12:07 tgl Exp $
2020 *
2121 *-------------------------------------------------------------------------
2222 */
@@ -33,7 +33,4 @@ typedef unsigned int Oid;
3333 */
3434#define NAMEDATALEN 32
3535
36- /* OIDNAMELEN should be set to NAMEDATALEN + sizeof(Oid) */
37- #define OIDNAMELEN 36
38-
3936#endif
You can’t perform that action at this time.
0 commit comments