summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian1999-09-27 20:04:14 +0000
committerBruce Momjian1999-09-27 20:04:14 +0000
commit5a017b96ad4a5b02907c6cea651d711f8fca615a (patch)
tree76f12bf8433bbb1fe453d9cb3560bbf591bd59de
parent12a932251c9c11e4b5951e7856e932c67ff73b31 (diff)
Apply contrib patch from Massimo
-rw-r--r--contrib/Makefile7
-rw-r--r--contrib/array/Makefile7
-rw-r--r--contrib/array/array_iterator.c5
-rw-r--r--contrib/array/array_iterator.doc5
-rw-r--r--contrib/datetime/Makefile7
-rw-r--r--contrib/datetime/datetime_functions.c4
-rw-r--r--contrib/datetime/datetime_functions.doc7
-rw-r--r--contrib/miscutil/Makefile7
-rw-r--r--contrib/miscutil/misc_utils.c2
-rw-r--r--contrib/miscutil/misc_utils.doc4
-rw-r--r--contrib/string/Makefile7
-rw-r--r--contrib/string/string_io.c4
-rw-r--r--contrib/string/string_io.doc7
-rw-r--r--contrib/userlock/Makefile7
-rw-r--r--contrib/userlock/user_locks.c4
-rw-r--r--contrib/userlock/user_locks.doc5
16 files changed, 81 insertions, 8 deletions
diff --git a/contrib/Makefile b/contrib/Makefile
index f74678b184..7485110ed5 100644
--- a/contrib/Makefile
+++ b/contrib/Makefile
@@ -30,6 +30,13 @@ install:
fi; \
done
+install-doc:
+ for dir in *; do \
+ if [ -e $$dir/Makefile ]; then \
+ $(MAKE) -C $$dir $@ ; \
+ fi; \
+ done || exit 0
+
clean:
for dir in *; do \
if [ -e $$dir/Makefile ]; then \
diff --git a/contrib/array/Makefile b/contrib/array/Makefile
index 5607b4e537..85e8d42ade 100644
--- a/contrib/array/Makefile
+++ b/contrib/array/Makefile
@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR)
strip $(MODDIR)/$(MODULE)
cp -p $(SQLDEFS) $(SQLDIR)/
+install-doc:
+ if [ -d "$(DOCDIR)" ]; then \
+ cp -p *.doc $(DOCDIR); \
+ else \
+ cp -p *.doc $(SQLDIR); \
+ fi
+
$(MODDIR):
mkdir -p $@
diff --git a/contrib/array/array_iterator.c b/contrib/array/array_iterator.c
index 27902e585f..5417d2da52 100644
--- a/contrib/array/array_iterator.c
+++ b/contrib/array/array_iterator.c
@@ -6,9 +6,12 @@
* elements of the array and the value and compute a result as
* the logical OR or AND of the iteration results.
*
- * Copyright (c) 1997, Massimo Dal Zotto <[email protected]>
+ * Copyright (C) 1999, Massimo Dal Zotto <[email protected]>
* ported to postgreSQL 6.3.2,added oid_functions, 18.1.1999,
* Tobias Gabele <[email protected]>
+ *
+ * This software is distributed under the GNU General Public License
+ * either version 2, or (at your option) any later version.
*/
#include <ctype.h>
diff --git a/contrib/array/array_iterator.doc b/contrib/array/array_iterator.doc
index 031301799c..b072ebe397 100644
--- a/contrib/array/array_iterator.doc
+++ b/contrib/array/array_iterator.doc
@@ -1,4 +1,9 @@
Array iterator functions, by Massimo Dal Zotto <[email protected]>
+Copyright (C) 1999, Massimo Dal Zotto <[email protected]>
+
+This software is distributed under the GNU General Public License
+either version 2, or (at your option) any later version.
+
This loadable module defines a new class of functions which take
an array and a scalar value, iterate a scalar operator over the
diff --git a/contrib/datetime/Makefile b/contrib/datetime/Makefile
index 5a575d07eb..b53293e172 100644
--- a/contrib/datetime/Makefile
+++ b/contrib/datetime/Makefile
@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR)
strip $(MODDIR)/$(MODULE)
cp -p $(SQLDEFS) $(SQLDIR)/
+install-doc:
+ if [ -d "$(DOCDIR)" ]; then \
+ cp -p *.doc $(DOCDIR); \
+ else \
+ cp -p *.doc $(SQLDIR); \
+ fi
+
$(MODDIR):
mkdir -p $@
diff --git a/contrib/datetime/datetime_functions.c b/contrib/datetime/datetime_functions.c
index 5499522004..910647118a 100644
--- a/contrib/datetime/datetime_functions.c
+++ b/contrib/datetime/datetime_functions.c
@@ -3,9 +3,9 @@
*
* This file defines new functions for the time and date data types.
*
- * Copyright (c) 1998, Massimo Dal Zotto <[email protected]>
+ * Copyright (C) 1999, Massimo Dal Zotto <[email protected]>
*
- * This file is distributed under the GNU General Public License
+ * This software is distributed under the GNU General Public License
* either version 2, or (at your option) any later version.
*/
diff --git a/contrib/datetime/datetime_functions.doc b/contrib/datetime/datetime_functions.doc
index 33b41d0218..66f4d376d6 100644
--- a/contrib/datetime/datetime_functions.doc
+++ b/contrib/datetime/datetime_functions.doc
@@ -1,3 +1,10 @@
+Datetime functions.
+Copyright (C) 1999, Massimo Dal Zotto <[email protected]>
+
+This software is distributed under the GNU General Public License
+either version 2, or (at your option) any later version.
+
+
I have written some new funtions for time and date data types which can
be used to extract hour,minutes,seconds from time values, and year,
month,day from a date. There is also a time_difference and functions
diff --git a/contrib/miscutil/Makefile b/contrib/miscutil/Makefile
index 88372da0f7..fa3c99fa1d 100644
--- a/contrib/miscutil/Makefile
+++ b/contrib/miscutil/Makefile
@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR)
strip $(MODDIR)/$(MODULE)
cp -p $(SQLDEFS) $(SQLDIR)/
+install-doc:
+ if [ -d "$(DOCDIR)" ]; then \
+ cp -p *.doc $(DOCDIR); \
+ else \
+ cp -p *.doc $(SQLDIR); \
+ fi
+
$(MODDIR):
mkdir -p $@
diff --git a/contrib/miscutil/misc_utils.c b/contrib/miscutil/misc_utils.c
index d9237bd9db..21341dc73c 100644
--- a/contrib/miscutil/misc_utils.c
+++ b/contrib/miscutil/misc_utils.c
@@ -3,7 +3,7 @@
*
* This file defines miscellaneous PostgreSQL utility functions.
*
- * Copyright (c) 1998, Massimo Dal Zotto <[email protected]>
+ * Copyright (C) 1999, Massimo Dal Zotto <[email protected]>
*
* This file is distributed under the GNU General Public License
* either version 2, or (at your option) any later version.
diff --git a/contrib/miscutil/misc_utils.doc b/contrib/miscutil/misc_utils.doc
index d1e3ac29ab..903455513a 100644
--- a/contrib/miscutil/misc_utils.doc
+++ b/contrib/miscutil/misc_utils.doc
@@ -1,4 +1,8 @@
Miscellaneous utility functions for PostgreSQL.
+Copyright (C) 1999, Massimo Dal Zotto <[email protected]>
+
+This software is distributed under the GNU General Public License
+either version 2, or (at your option) any later version.
query_limit(n)
diff --git a/contrib/string/Makefile b/contrib/string/Makefile
index 879fd2387f..b77ace937c 100644
--- a/contrib/string/Makefile
+++ b/contrib/string/Makefile
@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR)
strip $(MODDIR)/$(MODULE)
cp -p $(SQLDEFS) $(SQLDIR)/
+install-doc:
+ if [ -d "$(DOCDIR)" ]; then \
+ cp -p *.doc $(DOCDIR); \
+ else \
+ cp -p *.doc $(SQLDIR); \
+ fi
+
$(MODDIR):
mkdir -p $@
diff --git a/contrib/string/string_io.c b/contrib/string/string_io.c
index f28968cbe5..e1fc867497 100644
--- a/contrib/string/string_io.c
+++ b/contrib/string/string_io.c
@@ -3,9 +3,9 @@
*
* This file defines C-like input/output conversion routines for strings.
*
- * Copyright (c) 1998, Massimo Dal Zotto <[email protected]>
+ * Copyright (C) 1999, Massimo Dal Zotto <[email protected]>
*
- * This file is distributed under the GNU General Public License
+ * This software is distributed under the GNU General Public License
* either version 2, or (at your option) any later version.
*/
diff --git a/contrib/string/string_io.doc b/contrib/string/string_io.doc
index af4b974785..4b4d10166f 100644
--- a/contrib/string/string_io.doc
+++ b/contrib/string/string_io.doc
@@ -1,3 +1,10 @@
+String io module for postgresql.
+Copyright (C) 1999, Massimo Dal Zotto <[email protected]>
+
+This software is distributed under the GNU General Public License
+either version 2, or (at your option) any later version.
+
+
These output functions can be used as substitution of the standard text
output functions to get the value of text fields printed in the format
used for C strings. This allows the output of queries or the exported
diff --git a/contrib/userlock/Makefile b/contrib/userlock/Makefile
index e6cc6c37af..391956ad7e 100644
--- a/contrib/userlock/Makefile
+++ b/contrib/userlock/Makefile
@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR)
strip $(MODDIR)/$(MODULE)
cp -p $(SQLDEFS) $(SQLDIR)/
+install-doc:
+ if [ -d "$(DOCDIR)" ]; then \
+ cp -p *.doc $(DOCDIR); \
+ else \
+ cp -p *.doc $(SQLDIR); \
+ fi
+
$(MODDIR):
mkdir -p $@
diff --git a/contrib/userlock/user_locks.c b/contrib/userlock/user_locks.c
index 8631d2f606..1a596d5154 100644
--- a/contrib/userlock/user_locks.c
+++ b/contrib/userlock/user_locks.c
@@ -4,9 +4,9 @@
* This loadable module, together with my user-lock.patch applied to the
* backend, provides support for user-level long-term cooperative locks.
*
- * Copyright (c) 1998, Massimo Dal Zotto <[email protected]>
+ * Copyright (C) 1999, Massimo Dal Zotto <[email protected]>
*
- * This file is distributed under the GNU General Public License
+ * This software is distributed under the GNU General Public License
* either version 2, or (at your option) any later version.
*/
diff --git a/contrib/userlock/user_locks.doc b/contrib/userlock/user_locks.doc
index c7a4321dec..4c923a4657 100644
--- a/contrib/userlock/user_locks.doc
+++ b/contrib/userlock/user_locks.doc
@@ -1,4 +1,9 @@
User locks, by Massimo Dal Zotto <[email protected]>
+Copyright (C) 1999, Massimo Dal Zotto <[email protected]>
+
+This software is distributed under the GNU General Public License
+either version 2, or (at your option) any later version.
+
This loadable module, together with my user-lock.patch applied to the
backend, provides support for user-level long-term cooperative locks.