From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Dan Lyke <danlyke@flutterby.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Double newline bug with DBD::Pg: Where best to fix?
Date: Wed, 28 Feb 2001 13:06:55 -0500 (EST)
Message-ID: <200102281806.NAA05912@candle.pha.pa.us> (raw)
In-Reply-To: <200102281732.MAA03971@candle.pha.pa.us>
> > Tom Lane writes:
> >
> > > That's all fine IMHO. But this isn't:
> > >
> > > regression=# select 'a string
> > > regression'#
> > > regression'# with a newline';
> > > ?column?
> > > -------------------------
> > > a string
> > > with a newline
> > > (1 row)
> >
> > Well, *somebody* once figured that he could optimize away whitespace...
> > Not so. Here's a patch that gets this case right:
>
Peter, I have thought about this some more. Seems we either add the
'quote' check, or remove the optimizations completely. Because we have
to change it one way or the other for 7.1, it seems we should just
remove the tests totally. Neither of us understand why they are even in
the code.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: pgman@candle.pha.pa.us, peter_e@gmx.net, tgl@sss.pgh.pa.us, danlyke@flutterby.com
Subject: Re: Double newline bug with DBD::Pg: Where best to fix?
In-Reply-To: <200102281806.NAA05912@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox