Re: Assertion failure on UNLOGGED VIEW and SEQUENCE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Assertion failure on UNLOGGED VIEW and SEQUENCE
Дата
Msg-id 13585.1298057957@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Assertion failure on UNLOGGED VIEW and SEQUENCE  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, Feb 18, 2011 at 2:17 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> +1 for where you put the tests, but I don't think
>> ERRCODE_SYNTAX_ERROR is an appropriate errcode.  I'd go with
>> FEATURE_NOT_SUPPORTED for both, I think.

> I hesitate to use FEATURE_NOT_SUPPORTED for something that's
> nonsensical anyway.  I picked SYNTAX_ERROR after some scrutiny of what
> I believe to be parallel cases, such as EXPLAIN (FOO) SELECT 1 and
> CREATE TABLE t AS SELECT 1 INTO me.

[ shrug... ]  I don't care enough to argue about it.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Debian readline/libedit breakage
Следующее
От: Tom Lane
Дата:
Сообщение: Re: using a lot of maintenance_work_mem