Re: Add hint for function named "is"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Add hint for function named "is"
Дата
Msg-id 27684.1471013707@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Add hint for function named "is"  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
Jim Nasby <Jim.Nasby@BlueTreble.com> writes:
> Is there a place in the error reporting path where we'd still have 
> access to the 'is' token, and have enough control to look for a relevant 
> function?

No.  The grammar can't assume that it's being run inside a transaction
(consider parsing START TRANSACTION, or ROLLBACK after a failure).
So catalog access is out, full stop.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Server crash due to SIGBUS(Bus Error) when trying to access the memory created using dsm_create().
Следующее
От: Andrew Gierth
Дата:
Сообщение: Why is box <-> point missing, and box <-> box not indexable?