Re: replication connection and multi-command queries

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: replication connection and multi-command queries
Дата
Msg-id CAKFQuwasupXG-4FNdge0wvDDxdJbH=kJia7Pi=6rZdgGMRyVmA@mail.gmail.com
обсуждение исходный текст
Ответ на replication connection and multi-command queries  (Greg Rychlewski <greg.rychlewski@gmail.com>)
Ответы Re: replication connection and multi-command queries  (Greg Rychlewski <greg.rychlewski@gmail.com>)
Список pgsql-novice
On Sun, Jan 23, 2022 at 4:47 PM Greg Rychlewski <greg.rychlewski@gmail.com> wrote:
I have a situation where I've set up a replication connection and tried to issue a query with the simple protocol that has multiple commands "SELECT 1; SELECT 2;".

What do you mean by "I've set up a replication connection"?  IIUC they are not intended for interactive usage, they are intended for system-to-system data replication.  If you want to issue queries just connect with a "normal connection".

David J.

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

Предыдущее
От: Greg Rychlewski
Дата:
Сообщение: replication connection and multi-command queries
Следующее
От: Greg Rychlewski
Дата:
Сообщение: Re: replication connection and multi-command queries