[HACKERS] Using postgres planner as standalone component

Поиск
Список
Период
Сортировка
От Ricky Stevens
Тема [HACKERS] Using postgres planner as standalone component
Дата
Msg-id CAMyH5-ArNmpW0TGr4VZqTKjjVdXrQQgmxgF8m2ELSkCyrJUiYg@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] Using postgres planner as standalone component  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [HACKERS] Using postgres planner as standalone component  (Álvaro Hernández Tortosa <aht@8kdata.com>)
Список pgsql-hackers
Hi,

For one of my personal projects I am interested in using the PostgreSQL planner as a standalone library. However, I would like to run this as an embedded library instead of actually creating anything on disk.

I've realized that postgres has several pg_operator, pg_class etc. tables which it uses for query planning purposes. Is there any PostgreSQL component interface whose implementation could be overridden to not actually try to read these tables from disk but instead read it from a custom memory region that is managed by my code.

Thanks!

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: [HACKERS] PostgresNode::poll_query_until hacking
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Code quality issues in ICU patch