aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/stringutils.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1996-11-14 16:08:05 +0000
committerBruce Momjian <bruce@momjian.us>1996-11-14 16:08:05 +0000
commit0365c51e3002546acd365c643257999e4c7b592e (patch)
treeeef128e0b0623147cd8b57fe6fbf8bcf7e2b9c42 /src/bin/psql/stringutils.c
parentf64b8403871fbb8a5cd475f58dd432a53549a60d (diff)
downloadpostgresql-0365c51e3002546acd365c643257999e4c7b592e.tar.gz
postgresql-0365c51e3002546acd365c643257999e4c7b592e.zip
Overhaul MainLoop input processing for quotes, comments, backslashes.
Diffstat (limited to 'src/bin/psql/stringutils.c')
-rw-r--r--src/bin/psql/stringutils.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bin/psql/stringutils.c b/src/bin/psql/stringutils.c
index 42902e64384..870bfdefe05 100644
--- a/src/bin/psql/stringutils.c
+++ b/src/bin/psql/stringutils.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/psql/stringutils.c,v 1.4 1996/09/16 06:06:17 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/stringutils.c,v 1.5 1996/11/14 16:08:05 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,8 +19,11 @@
/* all routines assume null-terminated strings! */
-/* removes whitespaces from the left, right and both sides of a string */
+/* The following routines remove whitespaces from the left, right
+ and both sides of a string */
/* MODIFIES the string passed in and returns the head of it */
+
+
char *leftTrim(char *s)
{
char *s2 = s;