Bug: dblink_send_query not work on 9.2?
От | aasat |
---|---|
Тема | Bug: dblink_send_query not work on 9.2? |
Дата | |
Msg-id | 1357739714553-5739365.post@n5.nabble.com обсуждение исходный текст |
Ответы |
Re: Bug: dblink_send_query not work on 9.2?
|
Список | pgsql-general |
I have problem with dblink_send_query function on Postgres 9.2.2 This work do $$ begin perform dblink.dblink_connect('internal'); perform dblink.dblink_exec('internal', 'set application_name=''dblink'';', true); perform dblink.dblink_disconnect(); end; $$ But this not do $$ begin perform dblink.dblink_connect('internal'); perform dblink.dblink_send_query('internal', 'select dummy();'); perform dblink.dblink_disconnect(); end; $$ I got error ERROR: connection "internal" not available SQL state: 08003 Context: SQL statement "SELECT dblink.dblink_send_query('internal', 'select dummy();')" PL/pgSQL function inline_code_block line 5 at PERFORM It's works without problems on version 9.0 -- View this message in context: http://postgresql.1045698.n5.nabble.com/Bug-dblink-send-query-not-work-on-9-2-tp5739365.html Sent from the PostgreSQL - general mailing list archive at Nabble.com.
В списке pgsql-general по дате отправления: