Re: fix broken regression tests

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
Cc: Neil Conway <neilc(at)samurai(dot)com>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix broken regression tests
Date: 2003-01-16 00:55:20
Message-ID: 10138.1042678520@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> writes:
> On Wed, 15 Jan 2003, Tom Lane wrote:
>> My inclination at this point is to do sed 's/syntax error/parse error/'
>> in our grammar build rules so as to maintain backwards compatibility.

> How about we do that for 7.4 with a mention in the release notes / manual
> that 'syntax error' will release 'parse error' in some future
> release. Then again, isn't their a planned overhaul of error handling
> for 7.4 to bring it into line with SQL? If so, a change to parse error
> messages is the smallest problem facing users.

Yeah, but it's only planned not definite (and so far, no one's stepped
up to bat to make it happen). What was in the back of my mind was to
switch the sed args to align with newer Bisons at the time we actually
start making major changes to the error return protocol. I'd prefer to
stick users with a big change later rather than a small change now
*and* a big change later.

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-01-16 01:14:07 Re: fix broken regression tests
Previous Message Neil Conway 2003-01-15 23:15:14 replace oidrand() with random_sample()