On Sun, Aug 31, 2008 at 6:18 AM, Tom Lane <[EMAIL PROTECTED]> 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 > the expected output of a whole lot of the regression tests. >
This is a cool idea, but as you say it's pretty pointless for one-liner queries. What about implementing some kind of cutoff point for query length. As in, "Display the cursor if the query is < $whatever characters long"? I'm thinking most regression test queries would fall well below a reasonable value of $whatever. Cheers, BJ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers