Apply contrib patch from Massimo

This commit is contained in:
Bruce Momjian 1999-09-27 20:04:14 +00:00
parent 12a932251c
commit 5a017b96ad
16 changed files with 81 additions and 8 deletions

View File

@ -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 \

View File

@ -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 $@

View File

@ -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>

View File

@ -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

View File

@ -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 $@

View File

@ -3,9 +3,9 @@
*
* This file defines new functions for the time and date data types.
*
* Copyright (c) 1998, Massimo Dal Zotto <dz@cs.unitn.it>
* Copyright (C) 1999, Massimo Dal Zotto <dz@cs.unitn.it>
*
* 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.
*/

View File

@ -1,3 +1,10 @@
Datetime functions.
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.
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

View File

@ -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 $@

View File

@ -3,7 +3,7 @@
*
* This file defines miscellaneous PostgreSQL utility functions.
*
* Copyright (c) 1998, Massimo Dal Zotto <dz@cs.unitn.it>
* Copyright (C) 1999, Massimo Dal Zotto <dz@cs.unitn.it>
*
* This file is distributed under the GNU General Public License
* either version 2, or (at your option) any later version.

View File

@ -1,4 +1,8 @@
Miscellaneous utility functions for PostgreSQL.
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.
query_limit(n)

View File

@ -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 $@

View File

@ -3,9 +3,9 @@
*
* This file defines C-like input/output conversion routines for strings.
*
* Copyright (c) 1998, Massimo Dal Zotto <dz@cs.unitn.it>
* Copyright (C) 1999, Massimo Dal Zotto <dz@cs.unitn.it>
*
* 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.
*/

View File

@ -1,3 +1,10 @@
String io module for postgresql.
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.
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

View File

@ -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 $@

View File

@ -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 <dz@cs.unitn.it>
* Copyright (C) 1999, Massimo Dal Zotto <dz@cs.unitn.it>
*
* 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.
*/

View File

@ -1,4 +1,9 @@
User locks, 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, together with my user-lock.patch applied to the
backend, provides support for user-level long-term cooperative locks.