You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Occasional maintenance and house keeping will be performed. However, this project is not subsidized and interfaces like PostgREST and asyncpg are more appropriate solutions in many cases. "syncpg" probably maintains some value with its pure-Python convenience, but that utility is likely niche even if psql scripts were the only alternative. I would find a way to make an async py-postgresql work, but...
Long term, I don't really see the value of the PQv3 protocol versus an HTTP based solution (as a PostgreSQL built-in or a PostgREST-like layer). Leveraging PUT/POST/QUERY methods to virtual resources easily handle connection/transaction local resources like statements and cursors. One shot queries to (database) system views or functions could fulfill any introspection requirements if custom headers and HEAD methods were insufficient(PQ Describe* messages). The HTTP Accept header could be leveraged to select the desired format of a response: tsv, csv, json, etc. UDFs could extend the set of supported formats and additional (HTTP) interfaces. QUERY methods submitting SQL statements to an allocated transaction resource. etc.
(Some of this is probably implemented by PostgREST, but I'm unfamiliar with its feature set. I'm just itemizing a small subset of the obvious.)
HTTP can do all the things over reliable data streams (tcp/v1-2) and unreliable messaging channels (quic/v3).
Twenty years ago, this view would have been suspect, but with the ubiquity of HTTP and JSON. PQ is often just overhead.
The text was updated successfully, but these errors were encountered:
Occasional maintenance and house keeping will be performed. However, this project is not subsidized and interfaces like PostgREST and asyncpg are more appropriate solutions in many cases. "syncpg" probably maintains some value with its pure-Python convenience, but that utility is likely niche even if
psql
scripts were the only alternative. I would find a way to make an async py-postgresql work, but...Long term, I don't really see the value of the PQv3 protocol versus an HTTP based solution (as a PostgreSQL built-in or a PostgREST-like layer). Leveraging PUT/POST/QUERY methods to virtual resources easily handle connection/transaction local resources like statements and cursors. One shot queries to (database) system views or functions could fulfill any introspection requirements if custom headers and HEAD methods were insufficient(PQ Describe* messages). The HTTP Accept header could be leveraged to select the desired format of a response: tsv, csv, json, etc. UDFs could extend the set of supported formats and additional (HTTP) interfaces. QUERY methods submitting SQL statements to an allocated transaction resource. etc.
(Some of this is probably implemented by PostgREST, but I'm unfamiliar with its feature set. I'm just itemizing a small subset of the obvious.)
HTTP can do all the things over reliable data streams (tcp/v1-2) and unreliable messaging channels (quic/v3).
Twenty years ago, this view would have been suspect, but with the ubiquity of HTTP and JSON. PQ is often just overhead.
The text was updated successfully, but these errors were encountered: