summaryrefslogtreecommitdiff
path: root/src/bin/psql/stringutils.c
diff options
context:
space:
mode:
authorBruce Momjian1996-11-14 16:08:05 +0000
committerBruce Momjian1996-11-14 16:08:05 +0000
commit7b1dfa59ecb2d70c28ba08b257544e4d6b38b260 (patch)
treec885d239c07a0585894a9d70dd6ccf76caa5583d /src/bin/psql/stringutils.c
parent4a85875d418b9180e18ff05a9cab09e2032a1d07 (diff)
Overhaul MainLoop input processing for quotes, comments, backslashes.
Diffstat (limited to 'src/bin/psql/stringutils.c')
-rw-r--r--src/bin/psql/stringutils.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/psql/stringutils.c b/src/bin/psql/stringutils.c
index 62699677f9..72b42886c9 100644
--- a/src/bin/psql/stringutils.c
+++ b/src/bin/psql/stringutils.c
@@ -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;