Skip to content

Commit 5a017b9

Browse files
committed
Apply contrib patch from Massimo
1 parent 12a9322 commit 5a017b9

16 files changed

+81
-8
lines changed

contrib/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ install:
3030
fi; \
3131
done
3232

33+
install-doc:
34+
for dir in *; do \
35+
if [ -e $$dir/Makefile ]; then \
36+
$(MAKE) -C $$dir $@ ; \
37+
fi; \
38+
done || exit 0
39+
3340
clean:
3441
for dir in *; do \
3542
if [ -e $$dir/Makefile ]; then \

contrib/array/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR)
3939
strip $(MODDIR)/$(MODULE)
4040
cp -p $(SQLDEFS) $(SQLDIR)/
4141

42+
install-doc:
43+
if [ -d "$(DOCDIR)" ]; then \
44+
cp -p *.doc $(DOCDIR); \
45+
else \
46+
cp -p *.doc $(SQLDIR); \
47+
fi
48+
4249
$(MODDIR):
4350
mkdir -p $@
4451

contrib/array/array_iterator.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
* elements of the array and the value and compute a result as
77
* the logical OR or AND of the iteration results.
88
*
9-
* Copyright (c) 1997, Massimo Dal Zotto <dz@cs.unitn.it>
9+
* Copyright (C) 1999, Massimo Dal Zotto <dz@cs.unitn.it>
1010
* ported to postgreSQL 6.3.2,added oid_functions, 18.1.1999,
1111
* Tobias Gabele <gabele@wiz.uni-kassel.de>
12+
*
13+
* This software is distributed under the GNU General Public License
14+
* either version 2, or (at your option) any later version.
1215
*/
1316

1417
#include <ctype.h>

contrib/array/array_iterator.doc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
Array iterator functions, by Massimo Dal Zotto <dz@cs.unitn.it>
2+
Copyright (C) 1999, Massimo Dal Zotto <dz@cs.unitn.it>
3+
4+
This software is distributed under the GNU General Public License
5+
either version 2, or (at your option) any later version.
6+
27

38
This loadable module defines a new class of functions which take
49
an array and a scalar value, iterate a scalar operator over the

contrib/datetime/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR)
3939
strip $(MODDIR)/$(MODULE)
4040
cp -p $(SQLDEFS) $(SQLDIR)/
4141

42+
install-doc:
43+
if [ -d "$(DOCDIR)" ]; then \
44+
cp -p *.doc $(DOCDIR); \
45+
else \
46+
cp -p *.doc $(SQLDIR); \
47+
fi
48+
4249
$(MODDIR):
4350
mkdir -p $@
4451

contrib/datetime/datetime_functions.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
*
44
* This file defines new functions for the time and date data types.
55
*
6-
* Copyright (c) 1998, Massimo Dal Zotto <dz@cs.unitn.it>
6+
* Copyright (C) 1999, Massimo Dal Zotto <dz@cs.unitn.it>
77
*
8-
* This file is distributed under the GNU General Public License
8+
* This software is distributed under the GNU General Public License
99
* either version 2, or (at your option) any later version.
1010
*/
1111

contrib/datetime/datetime_functions.doc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Datetime functions.
2+
Copyright (C) 1999, Massimo Dal Zotto <dz@cs.unitn.it>
3+
4+
This software is distributed under the GNU General Public License
5+
either version 2, or (at your option) any later version.
6+
7+
18
I have written some new funtions for time and date data types which can
29
be used to extract hour,minutes,seconds from time values, and year,
310
month,day from a date. There is also a time_difference and functions

contrib/miscutil/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ install: $(MODULE) $(SQLDEFS) $(MODDIR) $(SQLDIR)
3939
strip $(MODDIR)/$(MODULE)
4040
cp -p $(SQLDEFS) $(SQLDIR)/
4141

42+
install-doc:
43+
if [ -d "$(DOCDIR)" ]; then \
44+
cp -p *.doc $(DOCDIR); \
45+
else \
46+
cp -p *.doc $(SQLDIR); \
47+
fi
48+
4249
$(MODDIR):
4350
mkdir -p $@
4451

contrib/miscutil/misc_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* This file defines miscellaneous PostgreSQL utility functions.
55
*
6-
* Copyright (c) 1998, Massimo Dal Zotto <dz@cs.unitn.it>
6+
* Copyright (C) 1999, Massimo Dal Zotto <dz@cs.unitn.it>
77
*
88
* This file is distributed under the GNU General Public License
99
* either version 2, or (at your option) any later version.

contrib/miscutil/misc_utils.doc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
Miscellaneous utility functions for PostgreSQL.
2+
Copyright (C) 1999, Massimo Dal Zotto <dz@cs.unitn.it>
3+
4+
This software is distributed under the GNU General Public License
5+
either version 2, or (at your option) any later version.
26

37
query_limit(n)
48

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy