Re: dblink syntax question for remotely invoking void-returning procedures
В списке pgsql-general по дате отправления:
| От | Merlin Moncure |
|---|---|
| Тема | Re: dblink syntax question for remotely invoking void-returning procedures |
| Дата | |
| Msg-id | b42b73150901260607i16e213b7k308178f22500f1a9@mail.gmail.com обсуждение |
| Ответ на | dblink syntax question for remotely invoking void-returning procedures (Ian Sollars <ian.sollars@gmail.com>) |
| Ответы |
Re: dblink syntax question for remotely invoking
void-returning procedures
|
| Список | pgsql-general |
On 1/24/09, Ian Sollars <ian.sollars@gmail.com> wrote:
> Hello everyone,
>
> I've got some questions about dblink that I couldn't find answers to in the
> documentation. Any help would be much appreciated.
>
> I need to invoke a function on a remote server that returns either void or
> text, and I'm trying to find a nice way of doing it.
>
did you try this?
perform * from dblink('test', 'select inserttest()') as t1(test text);
Anyways, I never write void returning functions. Another problem with
them (for example) is that they can't be called using the binary query
protocol. These are minor nits since the workaround is easy.
merlin
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера