Re: Patch for more readable parse error messages
От | Bruce Momjian |
---|---|
Тема | Re: Patch for more readable parse error messages |
Дата | |
Msg-id | 200006091239.IAA18539@candle.pha.pa.us обсуждение исходный текст |
Ответы |
Re: Patch for more readable parse error messages
|
Список | 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@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-patches по дате отправления: