OSDN Git Service

Fix plpsql for bsdi.
authorBruce Momjian <bruce@momjian.us>
Wed, 23 Feb 2000 22:24:46 +0000 (22:24 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 23 Feb 2000 22:24:46 +0000 (22:24 +0000)
doc/TODO
src/pl/plpgsql/src/Makefile.in
src/tools/copyright [new file with mode: 0755]

index 09a1bcb..28f8f7a 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -72,7 +72,7 @@ MISC
 * Plpgsql does not handle quoted mixed-case identifiers
 * -Fix btree to give a useful elog when key > 1/2 (page - overhead)(Tom)
 * -pg_dump should preserve primary key information(Peter E)
-* plpgsql regression tests fails on BSD/OS
+* -plpgsql regression tests fails on BSD/OS
 * -database names with spaces fail
 * -insert of 0.0 into DECIMAL(4,4) field fails(Tom)
 * -* Interlock to prevent DROP DATABASE on a database with running backendsInterlock to prevent DROP DATABASE on a database with running backends
index 57c5d72..781c483 100644 (file)
@@ -4,7 +4,7 @@
 #    Makefile for the plpgsql shared object
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.19 2000/01/16 20:04:59 petere Exp $
+#    $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.20 2000/02/23 22:24:45 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -24,6 +24,10 @@ CFLAGS+= -I$(SRCDIR)/backend
 ifneq (,$(findstring flex,$(LEX)))
 LFLAGS+= -i -l
 endif
+# bsdi calls flex lex
+ifeq ($(PORTNAME), bsdi)
+LFLAGS+= -i -l
+endif
 
 OBJS=  pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
 
diff --git a/src/tools/copyright b/src/tools/copyright
new file mode 100755 (executable)
index 0000000..cc64e4d
--- /dev/null
@@ -0,0 +1,5 @@
+rgrepc -l 'Copyright.*Regents' | while read FILE
+do
+       pipe sed 's/^\(.*\)\(Copyright.*Regents.*\)$/ * Portions Copyright (c) 1996-1999, PostgreSQL, Inc\
+\1Portions \2/g' $FILE
+done