Re: connecting to a differnt DB in PL/pgSQL

Поиск
Список
Период
Сортировка
От Tomasz Myrta
Тема Re: connecting to a differnt DB in PL/pgSQL
Дата
Msg-id 3E9AD77D.6020904@klaster.net
обсуждение исходный текст
Ответ на connecting to a differnt DB in PL/pgSQL  (friedrich nietzsche <nietzsche_psql@yahoo.it>)
Ответы Re: connecting to a differnt DB in PL/pgSQL  (Franco Bruno Borghesi <franco@akyasociados.com.ar>)
Список pgsql-sql
Uz.ytkownik friedrich nietzsche napisa?:
> Hi all,
> Is it possible to connect to another database within a
> PL/PgSQL function?
>
> I'm in a function on the "A" database and I need to
> retrieve some information from a table in a different
> Database "B"
>
> may someone help me?
>
> thanks, Danilo.
> bye.
You can't access another database even inside 1 server directly.
Find something about contrib/dblink - maybe it will help you.

Regards,
Tomasz Myrta



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

Предыдущее
От: friedrich nietzsche
Дата:
Сообщение: connecting to a differnt DB in PL/pgSQL
Следующее
От: Radovan Petrikí
Дата:
Сообщение: REPLACE