Re: Assertion failure due to ColumnRefStar

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Assertion failure due to ColumnRefStar
Дата
Msg-id 10795.1190911894@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Assertion failure due to ColumnRefStar  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I wrote:
> 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.

I took a brief look at this.  Changing that representation seems like
it'd be a fairly simple exercise, but I don't want to get into doing it
before 8.3 beta, and it'd be too invasive for a back-patch anyway.  What
I propose for the moment is to replace the Assert with a plain elog:
if (!targetlist)    elog(ERROR, "invalid use of *");

Thoughts?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Getting to 8.3 beta1
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Getting to 8.3 beta1