Re: Integration with Access Method interface

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Integration with Access Method interface
Дата
Msg-id 11290.1050070630@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Integration with Access Method interface  (Alice Lottini <alice_lottini@yahoo.it>)
Ответы Re: Integration with Access Method interface
Список pgsql-hackers
Alice Lottini <alice_lottini@yahoo.it> writes:
> we're developing a C programme which needs to directly
> use the functions of the Access Methods interface.
> In particular, our programme contains a function,
> readFromPG, which directly calls functions such as
> heap_open, heap_beginscan and so on in order to
> perform a low-level retrieval of data which are to be
> made available for further elaborations.

Why?

The answer to your question is simple: you can't, because those are
internal backend operations and are just not available to client
programs.  But I'm really at a loss why you think this would be a good
thing to do.  What's wrong with a "SELECT ..." command ?
        regards, tom lane



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Question about simple function folding optimization
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Question about simple function folding optimization