Re: psql eating backslashes
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Jan Wieck <JanWieck@Yahoo.com>
Cc: PostgreSQL HACKERS <pgsql-hackers@postgresql.org>
Date: 2000-07-17T18:30:38Z
Lists: pgsql-hackers
Jan Wieck writes: > 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) I committed a fix that should give you better results. peter=# select 'abc\\ peter'# def'; ?column? ---------- abc\ def (1 row) But what should peter=# select 'abc\ peter'# def'; do? This doesn't seem right: ?column? ---------- abc def (1 row) Should the newline be stripped? -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden