Re: syntax error position "CREATE FUNCTION" bug fix - Mailing list pgsql-patches

From Tom Lane
Subject Re: syntax error position "CREATE FUNCTION" bug fix
Date
Msg-id 9577.1079626048@sss.pgh.pa.us
Whole thread Raw
In response to syntax error position "CREATE FUNCTION" bug fix  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: syntax error position "CREATE FUNCTION" bug fix
List pgsql-patches
Fabien COELHO <coelho@cri.ensmp.fr> writes:
> Please find attached a patch to fix the "CREATE FUNCTION"  syntax error
> position bug I reported a few days ago.

This strikes me as much too intrusive to be worthwhile ... the problem
is simply not important enough to justify a protocol change.  Moreover,
I don't like the proposed protocol change anyway.  This approach only
solves the problem for psql-like error reporting, namely clients that
are going to regurgitate a string in their error message and aren't
very picky about whether that string really matches the original input.
One of the design goals for the error reporting feature is that GUI-type
clients should be able to mark syntax error positions by highlighting in
the original input window.  This proposal abandons that goal.

            regards, tom lane

pgsql-patches by date:

Previous
From: Fabien COELHO
Date:
Subject: syntax error position "CREATE FUNCTION" bug fix
Next
From: Fabien COELHO
Date:
Subject: Re: syntax error position "CREATE FUNCTION" bug fix