From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Axel at ansonic <goddyna@ansonic.com.au>
Cc: pgsql-interfaces@postgreSQL.org, "Ross J. Reedstrom" <reedstrm@wallace.ece.rice.edu>
Cc: blackw@sfu.ca
Subject: Re: [INTERFACES] Bug in parser?
Date: Tue, 08 Feb 2000 07:13:31 +0000
Message-ID: <389FC21B.6B0B3012@alumni.caltech.edu> (raw)
References: <NABBLEOMMPNHHMBPOBPFIENAFFAA.goddyna@ansonic.com.au>
<27734.949981876@sss.pgh.pa.us>
<389FB27B.1F9702BD@alumni.caltech.edu>
<405.949992133@sss.pgh.pa.us>
> * I see that the spec allows comments between segments of a string
> literal. This works in current code:
> regression=# select 'a string' -- zzz
> regression-# ' literal';
> ?column?
> ------------------
> a string literal
> (1 row)
> but I'm durned if I see where that behavior is implemented.
> Do you?
It used to be implemented in psql, and might still. Looks to me that
scan.l might be missing this case (which presumably you are thinking
also).
I'm still recalling the "line break" reasoning for concatenating
literals, but maybe that was just an example from the Date book rather
than the entire rule.
- Thomas
--
Thomas Lockhart lockhart@alumni.caltech.edu
South Pasadena, California
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: lockhart@alumni.caltech.edu, tgl@sss.pgh.pa.us, goddyna@ansonic.com.au, reedstrm@wallace.ece.rice.edu, blackw@sfu.ca
Subject: Re: [INTERFACES] Bug in parser?
In-Reply-To: <389FC21B.6B0B3012@alumni.caltech.edu>
* 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