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 + * Copyright (C) 1999, Massimo Dal Zotto * ported to postgreSQL 6.3.2,added oid_functions, 18.1.1999, * Tobias Gabele + * + * This software is distributed under the GNU General Public License + * either version 2, or (at your option) any later version. */ #include 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 +Copyright (C) 1999, Massimo Dal Zotto + +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 + * Copyright (C) 1999, Massimo Dal Zotto * - * 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 + +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 + * Copyright (C) 1999, Massimo Dal Zotto * * 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 + +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 + * Copyright (C) 1999, Massimo Dal Zotto * - * 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 + +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 + * Copyright (C) 1999, Massimo Dal Zotto * - * 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 +Copyright (C) 1999, Massimo Dal Zotto + +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.