Re: BUG #6727: Column does not exist exception has no error code
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #6727: Column does not exist exception has no error code |
| Дата | |
| Msg-id | 14927.1342028599@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #6727: Column does not exist exception has no error code (tuckerpmt@gmail.com) |
| Ответы |
Re: BUG #6727: Column does not exist exception has no error code
|
| Список | pgsql-bugs |
tuckerpmt@gmail.com writes:
> The SQLException that is thrown when performing a query that has a column
> name that is not valid, does not exist, does not contain an error
> code.
Could you provide a specific example? When I try this I see an error
code, 42703:
regression=# \set VERBOSITY verbose
regression=# select nosuchcol from int8_tbl;
ERROR: 42703: column "nosuchcol" does not exist
LINE 1: select nosuchcol from int8_tbl;
^
LOCATION: transformColumnRef, parse_expr.c:766
There may indeed be someplace where the errcode was forgotten, but
without a concrete example it's hard to find where.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера