summaryrefslogtreecommitdiff
path: root/contrib/string
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-09-27 20:04:14 +0000
committerBruce Momjian <bruce@momjian.us>1999-09-27 20:04:14 +0000
commit5a017b96ad4a5b02907c6cea651d711f8fca615a (patch)
tree76f12bf8433bbb1fe453d9cb3560bbf591bd59de /contrib/string
parent12a932251c9c11e4b5951e7856e932c67ff73b31 (diff)
downloadpostgresql-5a017b96ad4a5b02907c6cea651d711f8fca615a.tar.gz
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 <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.
*/
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 <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