Re: get_database_name() from background worker

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: get_database_name() from background worker
Дата
Msg-id CAMsr+YESe0cPfmg2pX7YvHiQL=K0LAMXQqsPeNK_2QQ814fe4A@mail.gmail.com
обсуждение исходный текст
Ответ на RE: get_database_name() from background worker  (ROS Didier <didier.ros@edf.fr>)
Список pgsql-hackers
On Thu, 12 Dec 2019 at 16:21, ROS Didier <didier.ros@edf.fr> wrote:
Hi
   With pg_background extension ,it is possible to make  "autonomous transaction" which means possibility to commit in a transaction.
 It is like a client which connects to a postgresql instance. So you can execute any sql orders .


Yes, that's possible. It's not easy though and I strongly suggest you look into existing approaches like using dblink instead.

Please start a new thread rather than following an unrelated existing one. 


--
 Craig Ringer                   http://www.2ndQuadrant.com/
 2ndQuadrant - PostgreSQL Solutions for the Enterprise

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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: checkpointer: PANIC: could not fsync file: No such file or directory
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: xact_start for walsender & logical decoding not updated