Connection Types with Logical Replication functions - Mailing list psycopg

From Scott Laird
Subject Connection Types with Logical Replication functions
Date
Msg-id CAG5DDWBOk_-+iOHq5Fbwk+Kn3qkgFwmoDE7BY4JPn=G0tCvVcw@mail.gmail.com
Whole thread Raw
List 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 by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Psycopg 3.1.9 released
Next
From: Kerrick Staley
Date:
Subject: Does psycopg2-binary provide the psycopg2 package?