| От | Tom Lane |
|---|---|
| Тема | Re: Assertion failure due to ColumnRefStar |
| Дата | |
| Msg-id | 29363.1190904719@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Assertion failure due to ColumnRefStar (Heikki Linnakangas <heikki@enterprisedb.com>) |
| Ответы |
Re: Assertion failure due to ColumnRefStar
|
| Список | pgsql-hackers |
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> NikhilS wrote:
>> One of our qmg folks reported an assertion failure:
>> create table x(y char(1));
>> insert into x values ("*");
>>
>> The above causes the following assertion to be hit:
> Works for me on CVS HEAD. Which version of Postgres is this?
I see the assert failure here --- maybe you were testing a non-assert
build?
The problem here is that in the output of the grammar, * is represented
exactly the same as "*" would be ... I suppose this representation was
chosen back in the day before we had full support for quoted column
names.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера