diff options
author | Irina Truong <i.chernyavska@gmail.com> | 2022-06-06 11:20:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-06 11:20:48 -0700 |
commit | 18071754bc0c79a7109c5ccfdaa74ed913c343ba (patch) | |
tree | c6426b4bbdd08e1931f0f49e813df592b4135d35 /README.rst | |
parent | 372da81ec4bb6572f293c00cdd5b3b4d3c38350d (diff) |
Port to psycopg3 (#1324)
* WIP.
* Add some comments about porting from psycopg 2 to 3 (#1318)
* WIP
* Disable _set_wait_callback()
* TransactionStatus.
* First working query.
* More pg3 changes.
* test_pgexecute still fails.
* Fix bytea support.
* Fix json and enum unicode.
* Get unit tests to pass.
* Behave tests still break, WIP.
* Prompt seems to be displayed fine, why don't the tests see the whitespace?
* Python version.
* Fix test.
* Black.
* Added black to dev reqs.
* nbu link for donations.
* Use psycopg.sql to format statement.
* Special case for show help in pgbouncer.
* Fix test.
* Added integration test.
* Install pgbouncer in ci.
* Fix integration test.
* Remove tmate session.
* Revert commenting out python versions.
* Pin pgspecial to >=2.
* Changelog.
Co-authored-by: Daniele Varrazzo <daniele.varrazzo@gmail.com>
Co-authored-by: Amjith Ramanujam <amjith.r@gmail.com>
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -11,6 +11,7 @@ Picture by @fomenko_ph (Telegram). Please consider donating or volunteering. +* https://bank.gov.ua/en/ * https://savelife.in.ua/en/donate/ * https://www.comebackalive.in.ua/donate * https://www.globalgiving.org/projects/ukraine-crisis-relief-fund/ @@ -51,10 +52,7 @@ If you already know how to install python packages, then you can simply do: If you don't know how to install python packages, please check the `detailed instructions`_. -If you are restricted to using psycopg2 2.7.x then pip will try to install it from a binary. There are some known issues with the psycopg2 2.7 binary - see the `psycopg docs`_ for more information about this and how to force installation from source. psycopg2 2.8 has fixed these problems, and will build from source. - .. _`detailed instructions`: https://github.com/dbcli/pgcli#detailed-installation-instructions -.. _`psycopg docs`: http://initd.org/psycopg/docs/install.html#change-in-binary-packages-between-psycopg-2-7-and-2-8 Usage ----- @@ -353,8 +351,8 @@ choice: In [3]: my_result = _ -Pgcli only runs on Python3.6+ since 2.2.0, if you use an old version of Python, -you should use install ``pgcli <= 2.2.0``. +Pgcli only runs on Python3.7+ since 4.0.0, if you use an old version of Python, +you should use install ``pgcli <= 4.0.0``. Thanks: ------- @@ -368,7 +366,7 @@ of this app. `Click <http://click.pocoo.org/>`_ is used for command line option parsing and printing error messages. -Thanks to `psycopg <http://initd.org/psycopg/>`_ for providing a rock solid +Thanks to `psycopg <https://www.psycopg.org/>`_ for providing a rock solid interface to Postgres database. Thanks to all the beta testers and contributors for your time and patience. :) |