From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Jeroen van Vianen <jeroen(at)design(dot)nl> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: Patch for more readable parse error messages |
Date: | 2000-06-09 12:39:32 |
Message-ID: | 200006091239.IAA18539@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Can someone remind me where we are on this. I seem to remember we have
to have db clients report the location because of problems with
interfaces handling the error output.
> Hi,
>
> Attached is a patch that will write out slightly more readable parse error
> messages than 'parser: parse error at or near ""'
>
> The format of the error messages is changed to:
>
> jeroen=# create abc ( a int4, b int4 );
> ERROR: parser: parse error at or near "abc":
> create abc ( a int4, b int4 )
> *
> jeroen=# select * from t1 where a=1 and;
> ERROR: parser: parse error at end of:
> select * from t1 where a=1 and
> *
>
> The regression tests pass, except where this error is caught.
>
> Please review,
>
> Cheers,
>
>
> Jeroen
[ Attachment, skipping... ]
--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-06-09 12:40:21 | Re: [HACKERS] Re: Patch for more readable parse error messages |
Previous Message | Bruce Momjian | 2000-06-09 12:09:17 | Re: Re: [CORE] Re: MY PATCH |