pgsql.hackers
[Top] [All Lists]

Re: Attaching error cursor position to invalid constant values

Subject: Re: Attaching error cursor position to invalid constant values
From: "Stephen R. van den Berg"
Date: Sun, 31 Aug 2008 01:29:59 +0200
Newsgroups: pgsql.hackers

Tom Lane wrote:
>I'm fooling around with getting the parser to report an error cursor
>location if input conversion fails for a constant in a SQL command.

>This seems like it'd be a pretty useful thing to have in long queries,
>but in short queries it looks a bit like overkill.  And it affects

I wanted to have this many times, actually I considered it a bug that
it didn't report the position.
-- 
Sincerely,
           Stephen R. van den Berg.
Several ways to kill a programmer:  kill -15, fair trial; kill -1, death by
hanging; kill -2, suicide; kill -3, euthanasia; kill -9, execution.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy