Re: Error messages changes for 7.3?

From: Robert Treat <rtreat(at)webmd(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error messages changes for 7.3?
Date: 2002-07-08 23:25:50
Message-ID: 1026170750.5870.62.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I can imagine this will cause some people headaches, but I can't imagine
it would cause more pain than the schema support changes are going to
cause. I would much prefer having to do something like:

find / -type f -print | xargs perl -pe 's/ExecAppend/ExecInsert/g'

rather than digging through client code to make query changes. I can
definitely see the benefits from an ease of use side, was there
something else that prompted the change?

Robert Treat

On Sun, 2002-07-07 at 23:56, Bruce Momjian wrote:
> There is discussion on hackers to change certain error message text for
> 7.3. The change would be:
>
> ERROR: ExecAppend: ... => ERROR: ExecInsert: ...
>
> and
>
> ERROR: ExecReplace: ... => ERROR: ExecUpdate: ...
>
>
> APPEND/REPLACE are the old QUEL-language commands, while INSERT/UPDATE
> are the SQL ones.
>
> Does such a change in 7.3 cause anyone problems? We are particularly
> interested in people who parse these error strings and don't want them
> to change.
>
> --
> Bruce Momjian | http://candle.pha.pa.us

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2002-07-08 23:37:35 Re: Bug in 7.2.1? -- ERROR: Adding columns with defaults is not implemented.
Previous Message Hunter Hillegas 2002-07-08 23:21:51 Query Casting Help