]> git.ipfire.org Git - thirdparty/psycopg.git/commit
test: skip target_session_attrs with libpw < 14
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 10 Mar 2025 23:26:23 +0000 (00:26 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 12 Mar 2025 17:50:49 +0000 (18:50 +0100)
commit1377bb66a4cbd6343738567de646ce96ac177902
tree8ae33fbdfbc664323b9355a3b78c75bf3cbbcaf1
parentb37dc1a35b8c24707bc844f8cc8ee965121ba25b
test: skip target_session_attrs with libpw < 14

Only one test fails with the currently "oldest" libpq, which is 10.2,
however the docs in libpq 13 are not explicit in which modes are
supported and, afaics, 'replica' shouldn't work either.

https://www.postgresql.org/docs/13/libpq-connect.html
tests/test_connection.py
tests/test_connection_async.py