summaryrefslogtreecommitdiff
path: root/contrib/array
diff options
context:
space:
mode:
authorBruce Momjian1999-09-27 20:04:14 +0000
committerBruce Momjian1999-09-27 20:04:14 +0000
commit5a017b96ad4a5b02907c6cea651d711f8fca615a (patch)
tree76f12bf8433bbb1fe453d9cb3560bbf591bd59de /contrib/array
parent12a932251c9c11e4b5951e7856e932c67ff73b31 (diff)
Apply contrib patch from Massimo
Diffstat (limited to 'contrib/array')
-rw-r--r--contrib/array/Makefile7
-rw-r--r--contrib/array/array_iterator.c5
-rw-r--r--contrib/array/array_iterator.doc5
3 files changed, 16 insertions, 1 deletions
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 <dz@cs.unitn.it>
+ * Copyright (C) 1999, Massimo Dal Zotto <dz@cs.unitn.it>
* ported to postgreSQL 6.3.2,added oid_functions, 18.1.1999,
* Tobias Gabele <gabele@wiz.uni-kassel.de>
+ *
+ * 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 <dz@cs.unitn.it>
+Copyright (C) 1999, Massimo Dal Zotto <dz@cs.unitn.it>
+
+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