Обсуждение: Storing a query plan to disc...

Поиск
Список
Период
Сортировка

Storing a query plan to disc...

От
"Katsaros Kwn/nos"
Дата:
Hi!

I'm new to PostgreSQL (and C) and what I'm trying to do is to store a
query plan on disc (in a binary file).
My approach is to use SPI functions to get the query plan and then
transform it into a 'storable' format (Replacing the pointers with
actual values).

Is there any other way to do this? Is my approach OK?
The sure thing is that it is a messy task!

Thanks in advance,
ntinoas