| От | Tom Lane |
|---|---|
| Тема | Re: Is it possible to call Postgres directly? |
| Дата | |
| Msg-id | 27649.1461207921@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Is it possible to call Postgres directly? (<david@andl.org>) |
| Ответы |
Re: Is it possible to call Postgres directly?
|
| Список | pgsql-general |
<david@andl.org> writes:
> I would like to be able to execute SQL queries by a direct call into
> Postgres, without going through either (1) the language call handler or (2)
> a 'wire' protocol.
What would you consider to be "directly"? What advantage would you
hope to gain from a different API?
FWIW, it seems unlikely to me that we would consider anything much
lower-level than SPI to be an officially-supported query interface.
You could no doubt run a query by calling assorted backend functions
directly from a PL implementation, but it would be mostly on your
own head whether that worked and kept working across releases.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера