Connection Types with Logical Replication functions

Поиск
Список
Период
Сортировка
От Scott Laird
Тема Connection Types with Logical Replication functions
Дата
Msg-id CAG5DDWBOk_-+iOHq5Fbwk+Kn3qkgFwmoDE7BY4JPn=G0tCvVcw@mail.gmail.com
обсуждение исходный текст
Список psycopg
Hi, I was curious about the usage of synchronous connections with read_message. The documentation says that consume_message should be used with synchronous connections and that read_message is for async connections. I noticed during development that you could call read_message on a synchronous connection and was curious about the repercussions - if any - would be. Would it make sense to implement a check on calling read_message to make sure that an async connection is set? Thanks!

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

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Psycopg 3.1.9 released
Следующее
От: Kerrick Staley
Дата:
Сообщение: Does psycopg2-binary provide the psycopg2 package?