| От | Tom Lane |
|---|---|
| Тема | Parser doesn't grok unqualified array element |
| Дата | |
| Msg-id | 11136.922594604@sss.pgh.pa.us обсуждение |
| Ответы |
Re: [HACKERS] Parser doesn't grok unqualified array element
|
| Список | pgsql-hackers |
Has this come up before? 6.4.2 and current sources both have
this problem:
select count(*) from pg_proc where pg_proc.proargtypes[0] = 701;
works, butselect count(*) from pg_proc where proargtypes[0] = 701;
fails with ERROR: Unable to locate type name 'proargtypes' in catalog
The grammar doesn't seem to have a case that allows for a subscripted
attribute name without a relation name in front of it.
It looks like fixing this might be as easy as making the "ColId"
cases in a_expr, b_expr, possibly other places include an
opt_indirection item like columnElem does. But maybe there's
more to it than meets the eye?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера