summaryrefslogtreecommitdiff
path: root/contrib/string
diff options
context:
space:
mode:
authorBruce Momjian1999-09-27 20:04:14 +0000
committerBruce Momjian1999-09-27 20:04:14 +0000
commit26f0d2727caad071c39b163ae36e975aa0226a21 (patch)
treeca796be9025d613f3664637fc743157eedd603fd /contrib/string
parentf66bd13d07cc6d7cf088bb0dcac4dd208a2bbef6 (diff)
Apply contrib patch from Massimo
Diffstat (limited to 'contrib/string')
-rw-r--r--contrib/string/Makefile7
-rw-r--r--contrib/string/string_io.c4
-rw-r--r--contrib/string/string_io.doc7
3 files changed, 16 insertions, 2 deletions
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 <[email protected]>
+ * Copyright (C) 1999, Massimo Dal Zotto <[email protected]>
*
- * 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 <[email protected]>
+
+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