Skip to content

Commit f72f4f3

Browse files
authored
Use the C implementation of psycopg (#210)
The `psycopg` package defaults to a pure Python implementation. To opt into the faster C implementation, one has to use the `c` extra. This differs from the `psycopg2` package (which contrary to the what the name suggests, is the older package), where the base package included the C implementation. See: https://www.psycopg.org/psycopg3/docs/basic/install.html#local-installation https://www.psycopg.org/psycopg3/docs/api/pq.html#pq-impl GUS-W-14292989.
1 parent 803078e commit f72f4f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ whitenoise[brotli]>=6.0,<7.0
88
# underlying Heroku stack image are picked up automatically, thanks to dynamic linking.
99
# On other platforms/in development, the precompiled binary package is used instead, to
1010
# speed up installation and avoid errors from missing libraries/headers.
11-
#psycopg; sys_platform == "linux"
11+
#psycopg[c]; sys_platform == "linux"
1212
#psycopg[binary]; sys_platform != "linux"

0 commit comments

Comments
 (0)