Re: Accessing non catalog table in backend

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: Accessing non catalog table in backend
Дата
Msg-id 568ABEE4.3020607@BlueTreble.com
обсуждение исходный текст
Ответ на Accessing non catalog table in backend  (Atri Sharma <atri.jiit@gmail.com>)
Ответы Re: Accessing non catalog table in backend
Список pgsql-hackers
On 1/4/16 12:07 PM, Atri Sharma wrote:
> Hi All,
>
> I wanted to check if it is possible to query a non catalog table in backend.
>
> I understand that cql interface is only for catalog querying hence it is
> not usable for this purpose per se.

AFAIK it's possible to do it with low level routines, but I think unless 
you have a really good reason to go that route you're much better off 
just using SPI. If it's good enough for plpgsql... :)
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Broken lock management in policy.c.
Следующее
От: Atri Sharma
Дата:
Сообщение: Re: Accessing non catalog table in backend