Commit 5a017b96 authored by Bruce Momjian's avatar Bruce Momjian

Apply contrib patch from Massimo

parent 12a93225
...@@ -30,6 +30,13 @@ install: ...@@ -30,6 +30,13 @@ install:
fi; \ fi; \
done done
install-doc:
for dir in *; do \
if [ -e $$dir/Makefile ]; then \
$(MAKE) -C $$dir $@ ; \
fi; \
done || exit 0
clean: clean:
for dir in *; do \ for dir in *; do \
if [ -e $$dir/Makefile ]; then \ if [ -e $$dir/Makefile ]; then \
......
...@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR) ...@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR)
strip $(MODDIR)/$(MODULE) strip $(MODDIR)/$(MODULE)
cp -p $(SQLDEFS) $(SQLDIR)/ cp -p $(SQLDEFS) $(SQLDIR)/
install-doc:
if [ -d "$(DOCDIR)" ]; then \
cp -p *.doc $(DOCDIR); \
else \
cp -p *.doc $(SQLDIR); \
fi
$(MODDIR): $(MODDIR):
mkdir -p $@ mkdir -p $@
......
...@@ -6,9 +6,12 @@ ...@@ -6,9 +6,12 @@
* elements of the array and the value and compute a result as * elements of the array and the value and compute a result as
* the logical OR or AND of the iteration results. * 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, * ported to postgreSQL 6.3.2,added oid_functions, 18.1.1999,
* Tobias Gabele <gabele@wiz.uni-kassel.de> * 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> #include <ctype.h>
......
Array iterator functions, by Massimo Dal Zotto <dz@cs.unitn.it> 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 This loadable module defines a new class of functions which take
an array and a scalar value, iterate a scalar operator over the an array and a scalar value, iterate a scalar operator over the
......
...@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR) ...@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR)
strip $(MODDIR)/$(MODULE) strip $(MODDIR)/$(MODULE)
cp -p $(SQLDEFS) $(SQLDIR)/ cp -p $(SQLDEFS) $(SQLDIR)/
install-doc:
if [ -d "$(DOCDIR)" ]; then \
cp -p *.doc $(DOCDIR); \
else \
cp -p *.doc $(SQLDIR); \
fi
$(MODDIR): $(MODDIR):
mkdir -p $@ mkdir -p $@
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
* *
* This file defines new functions for the time and date data types. * 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. * either version 2, or (at your option) any later version.
*/ */
......
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 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, 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 month,day from a date. There is also a time_difference and functions
......
...@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR) ...@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR)
strip $(MODDIR)/$(MODULE) strip $(MODDIR)/$(MODULE)
cp -p $(SQLDEFS) $(SQLDIR)/ cp -p $(SQLDEFS) $(SQLDIR)/
install-doc:
if [ -d "$(DOCDIR)" ]; then \
cp -p *.doc $(DOCDIR); \
else \
cp -p *.doc $(SQLDIR); \
fi
$(MODDIR): $(MODDIR):
mkdir -p $@ mkdir -p $@
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* This file defines miscellaneous PostgreSQL utility functions. * 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 * This file is distributed under the GNU General Public License
* either version 2, or (at your option) any later version. * either version 2, or (at your option) any later version.
......
Miscellaneous utility functions for PostgreSQL. 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) query_limit(n)
......
...@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR) ...@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR)
strip $(MODDIR)/$(MODULE) strip $(MODDIR)/$(MODULE)
cp -p $(SQLDEFS) $(SQLDIR)/ cp -p $(SQLDEFS) $(SQLDIR)/
install-doc:
if [ -d "$(DOCDIR)" ]; then \
cp -p *.doc $(DOCDIR); \
else \
cp -p *.doc $(SQLDIR); \
fi
$(MODDIR): $(MODDIR):
mkdir -p $@ mkdir -p $@
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
* *
* This file defines C-like input/output conversion routines for strings. * 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. * either version 2, or (at your option) any later version.
*/ */
......
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 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 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 used for C strings. This allows the output of queries or the exported
......
...@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR) ...@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR)
strip $(MODDIR)/$(MODULE) strip $(MODDIR)/$(MODULE)
cp -p $(SQLDEFS) $(SQLDIR)/ cp -p $(SQLDEFS) $(SQLDIR)/
install-doc:
if [ -d "$(DOCDIR)" ]; then \
cp -p *.doc $(DOCDIR); \
else \
cp -p *.doc $(SQLDIR); \
fi
$(MODDIR): $(MODDIR):
mkdir -p $@ mkdir -p $@
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* This loadable module, together with my user-lock.patch applied to the * This loadable module, together with my user-lock.patch applied to the
* backend, provides support for user-level long-term cooperative locks. * 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. * either version 2, or (at your option) any later version.
*/ */
......
User locks, by Massimo Dal Zotto <dz@cs.unitn.it> 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 This loadable module, together with my user-lock.patch applied to the
backend, provides support for user-level long-term cooperative locks. backend, provides support for user-level long-term cooperative locks.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment