Re: Accessing non catalog table in backend

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Accessing non catalog table in backend
Дата
Msg-id 24960.1451972350@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Accessing non catalog table in backend  (Atri Sharma <atri.jiit@gmail.com>)
Ответы Re: Accessing non catalog table in backend  (Atri Sharma <atri.jiit@gmail.com>)
Список pgsql-hackers
Atri Sharma <atri.jiit@gmail.com> writes:
> I fail to see the relevance of which node is getting evaluated (its a Plan
> node BTW) for this question. The concern I had was around using SPI inside
> executor and its fail safety.

The code path executor -> PL function -> SPI certainly works, so
presumably omitting the intermediate PL function could still work.
Whether it's a good idea is another question entirely.  I do not
offhand see a good reason why knowledge of non-system tables should
exist in the core executor; so what is the need to use SPI?
        regards, tom lane



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

Предыдущее
От: Chapman Flack
Дата:
Сообщение: Re: dynloader.h missing in prebuilt package for Windows?
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: dynloader.h missing in prebuilt package for Windows?