Re: Attaching error cursor position to invalid constant values

From: "Stephen R(dot) van den Berg" <srb(at)cuci(dot)nl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Attaching error cursor position to invalid constant values
Date: 2008-08-30 23:29:59
Message-ID: 20080830232959.GA17682@cuci.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2008-08-31 00:18:26 TODO item: Implement Boyer-Moore searching (First time hacker)
Previous Message David Rowley 2008-08-30 23:21:11 TODO item: Implement Boyer-Moore searching (First time hacker)