psql eating backslashes

Jan Wieck <janwieck@t-online.de>

From: JanWieck@t-online.de (Jan Wieck)
To: PostgreSQL HACKERS <pgsql-hackers@postgresql.org>
Date: 2000-07-17T17:01:23Z
Lists: pgsql-hackers
Hi,

    seems  to me that psql thinks to know a little too much about
    quoting. I'm not able to qoute a backslash at the  end  of  a
    line:

        xxx=# select 'a\\b\\
        xxx'# c';
         ?column?
        ----------
         a\b
        c
        (1 row)

    There  is  a  newline  following  directly  after  b\\,  so I
    expected a "a\b\<NL>c" response - what  the  above  obviously
    isn't.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #