pgsql-server/ rc/backend/parser/Tag: rc/backen ...

Started by Tom Laneover 23 years ago3 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@postgresql.org 03/01/31 15:58:28

Modified files:
src/backend/parser: Tag: REL7_3_STABLE Makefile
contrib/cube : Tag: REL7_3_STABLE Makefile
contrib/seg : Tag: REL7_3_STABLE Makefile

Log message:
Tweak bison build rules so that we get the same error messages from
bison 1.875 and later as we did from earlier bison releases. Eventually
we will probably want to adopt the newer message spelling ... but not yet.
Per recent discussion on pgpatches.
Note: I didn't change the build rules for bootstrap, ecpg, or plpgsql
grammars, since these do not affect regression test results.

#2Neil Conway
neilc@samurai.com
In reply to: Tom Lane (#1)
Re: pgsql-server/ rc/backend/parser/Tag: rc/backen ...

On Fri, 2003-01-31 at 15:58, Tom Lane wrote:

Note: I didn't change the build rules for bootstrap, ecpg, or plpgsql
grammars, since these do not affect regression test results.

Wasn't the intent of papering-over the bison change to ensure that
client applications that look at error messages aren't gratuitously
broken?

Cheers,

Neil
--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Neil Conway (#2)
Re: pgsql-server/ rc/backend/parser/Tag: rc/backen ...

Neil Conway <neilc@samurai.com> writes:

On Fri, 2003-01-31 at 15:58, Tom Lane wrote:

Note: I didn't change the build rules for bootstrap, ecpg, or plpgsql
grammars, since these do not affect regression test results.

Wasn't the intent of papering-over the bison change to ensure that
client applications that look at error messages aren't gratuitously
broken?

Yes. Client apps aren't going to be seeing errors out of bootstrap.
I doubt anyone is going to be expecting their apps to analyze syntax
errors in plpgsql functions, either. As for ecpg, Michael would be
the last word on it, and he can change the ecpg makefile if he likes ---
but ecpg is a preprocessor, not an interactive frontend. I don't see
that anyone's going to be passing ecpg parse errors to programs,
either.

regards, tom lane