- Update to 2.5.5 Changes: http://initd.org/psycopg/articles/2015/02/09/psycopg-26-and-255-released/13192e8a5f
Port details
databases/py-psycopg2 2.9.13
High performance Python adapter for PostgreSQL
Port info
- Maintainer
- sunpoet@FreeBSD.org
- Packages
- latest: 2.9.13
- Upstream
- up to date
- Last update
- to 2.9.13 · 6b5f4ad659
- Quarterly
- 2026Q4: 2.9.13
- Formerly
- databases/py3-psycopg2 until 2017-11-30, databases/py35-psycopg2 until 2016-12-10
- WWW
- https://www.psycopg.org/
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install py312-psycopg2installs 2.9.13 fromlatest; fromquarterly(2026Q4) 2.9.13- Port
# cd /usr/ports/databases/py-psycopg2 && make install clean- Size
- 164 KiB download · 719 KiB installed
- Depends on
- databases/postgresql18-client 18.6, lang/python312 3.12.15
- License
- LGPL3
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 2.9.13 | 2.9.13 | – |
| FreeBSD 15 | 2.9.13 | 2.9.13 | – |
| FreeBSD 14 | 2.9.13 | 2.9.13 | 2.9.13 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 2.9.13 | 2.9.13 | – |
| FreeBSD 14 | 2.9.13 | 2.9.13 | 2.9.13 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 2.9.13.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (87)
- Update to 2.5.4 - Add LICENSE - Add DOCS and EXAMPLES to OPTIONS_DEFINE Changes: http://initd.org/psycopg/articles/2014/08/30/psycopg-254-released/a0748d649b
- Take maintainership4c9b5e2148
Reset miwi's maintainership per his demand Hope to see you back! Thank for all the work!91a1caa242
databases/py-psycopg2: allow concurrent install - USES pgsql python With hat: python Reported by: Richard Kuhns (via freebsd-python@)e109de4669
- Update to 2.5.3eae3d16536
- convert to autogenerated packing list to fix python3 packaging - simplify DOCS and EXAMPLES installation PR: 182422 Reported by: Arseny Nasokin <eirnym@gmail.com> Approved by: miwi (maintainer, by email)d1a51e7c6f
- Stage supportcddbfeef63
- Update to 2.5.29c5b9f7cd8
Add NO_STAGE all over the place in preparation for the staging support (cat: databases)36117d7097
- Update to 2.5.1 PR: 180177 Submitted by: Douglas Carmichael <dcarmich@dcarmichael.net>3a6ec5ffb9
- Update to 2.4.6 - Convert Headerc6eb725def
- Update to 2.4.5 PR: 166529 Submitted by: rm@6432370980
- update to 2.4.4 - change USE_PYTHON to `yes' (Python3 is supported) - update WWW - sort pkg-plist Approved by: miwi (mentor)eeeda33da1
- Update to 2.4.2525eb2893f
- Update to 2.4.1 PR: 156999 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>13db847120
- Update to 2.4cd39ffd43a
- Move over to py25+ or above - While here kick md5 support021fc3a529
- Update to 2.3.2 - Cleanup PR: 153463 Submitted by: Khee Chin <kheechin@gmail.com> Ruslan Mahmatkhanov <cvs-src@yandex.ru> Feature safe: yes81cf5690ed
Update to 2.2.2 Adjust MASTER_SITE to account for upstream server crash PR: ports/149914 Submitted by: Josh Paetzel <jpaetzel@FreeBSD.org> Sponsored by: iXsystems882ebc7aaa
- Update to 2.2.1 PR: 146800 Submitted by: Daniel Gerzo <danger@freebsd.org> (maintainer)1af63f4060
- Update to 2.0.14ecfbdfca87
- Update to 2.0.13 PR: 139665 Submitted by: Sylvio Cesar <scjamorim@bsd.com.br>8dfbd54ce9
- Update to 2.0.12e6bb2b11e5
- Update to 2.0.11f82fc5825c
- Update to 2.0.102d529d9a7c
- Update to 2.0.982f095602a
- Update to 2.0.8b6014b4490
Bump portrevision due to upgrade of devel/gettext. The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)090059a210
- Update to 2.0.7 PR: 123578 Submitted by: olli hauer <ohauer@gmx.de>1d28e396f4
- Remove unnecessary dependencies Submitted by: Josh Paetzel via irc67a8a87cdc
- Remove the DESTDIR modifications from individual ports as we have a new, fully chrooted DESTDIR, which does not need such any more. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav)42542fb076
- Update to 2.0.6 - Respect NOPORTEXAMPLES - Drop FreeBSD 4.X gruft1995c66e00
- Fix build with gcc 4.X PR: 108063 Submitted by: trasz <trasz@pin.if.uz.zgora.pl>e6bdf477c5
- Add backup MASTER_SITES18fd48bc97
- Update to 2.0.5.1 - Changlog here: http://initd.org/pub/software/psycopg/ChangeLog887f3f38c3
psycopg2 is a PostgreSQL database adapter for the Python programming language. It was written from scratch with the aim of being small, fast and stable. It supports the full Python DBAPI-2.0 and is thread safe. psycopg2 is different from the other database adapter because it was designed for heavily multi-threaded applications that create and destroy lots of cursors and make a conspicuous number of concurrent INSERTs or UPDATEs. Every open Python connection keeps a pool of real (UNIX or TCP/IP) connections to the database. Every time a new cursor is created, a new connection does not need to be opened; instead one of the unused connections from the pool is used. That makes psycopg very fast in typical client-server applications that create a servicing thread every time a client request arrives. WWW: http://initd.org/projects/psycopg2 Approved by: krion (mentor)c242443a38