Re: elog() error, trying CURENT OF with foreign table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: elog() error, trying CURENT OF with foreign table
Дата
Msg-id 15406.1366381460@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: elog() error, trying CURENT OF with foreign table  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: elog() error, trying CURENT OF with foreign table  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, Apr 19, 2013 at 10:11 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Yeah, that's an unimplemented feature.

> So, should we just make that an
> ereport(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), ...) instead of
> elog()?

I'm not that excited about the errcode; if we're going to do anything,
changing the message text seems more important.  Perhaps we could have
it say "WHERE CURRENT OF is not supported for this table type"?  That's
jumping to conclusions about why the expression didn't get converted,
but at least for this case it'd be a more useful user-facing message.
        regards, tom lane



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: [GENERAL] currval and DISCARD ALL
Следующее
От: Robert Haas
Дата:
Сообщение: Re: elog() error, trying CURENT OF with foreign table