Re: ruleutils vs. empty targetlists

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ruleutils vs. empty targetlists
Дата
Msg-id 8576.1386947245@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ruleutils vs. empty targetlists  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: ruleutils vs. empty targetlists
Список pgsql-hackers
Dean Rasheed <dean.a.rasheed@gmail.com> writes:
> I can't think of any practical uses for this kind of query, so I don't
> think it's worth worrying too much about its results until/unless
> someone comes up with a real use-case.

> However, given that we currently support queries like "select distinct
> * from nocols" (albeit with rather odd results), I don't think we
> should start throwing new errors for them. Perhaps the actual risk of
> a backwards-compatibility break is small, but so too is any benefit
> from adding such new errors.

> So +1 for the patch as-is, with no new errors.

How about as-is in the back branches, and throw the new errors only
in HEAD?
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "stuck spinlock"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Logging WAL when updating hintbit