Psycopg
832 posts

Psycopg
@psycopg
The most popular PostgreSQL adapter for Python
Katılım Ekim 2010
128 Takip Edilen1.8K Takipçiler

Back from @PGConfdev, full of ideas! 🤗 Great to share our work on Python/Postgres communication and imagine how the protocol could evolve: lots of work ahead! 💪 If you'd like to, please consider supporting Psycopg 💛 Link in comments! #pgconfdev #PostgreSQL #Python #Psycopg

English

We're going to Vancouver! 🇨🇦 Our maintainer Daniele Varrazzo will be giving a talk at @PGConfdev about libpq and how to get more out of PostgreSQL. Come say hi! 👋 #pgconfdev #PostgreSQL #Python #Psycopg #libpq #OpenSource #PythonDeveloper #PostgreSQLCommunity #DevConference

English

Shall we meet in Naples?
We will be at PGDay Napoli to talk about Psycopg 3 and in the upcoming 3.3, with Python 3.14 and PostgreSQL 18 support.
After that, get the chance to visit a picturesque city and have the best pizza of your life!
2025.pgdaynapoli.org
English

@pauloxnet aaaaAAAAAAAAA!!!!!1
That's amazing! Thank you for the immense work!!!
English

@samuelcolvin Something easier to do is to list the minimum versions in a constraint files and include it in a CI test run using pip -c. Details at #constraints-files" target="_blank" rel="nofollow noopener">pip.pypa.io/en/stable/user…
English

I want a CI tool that installs all combinations of dependencies for a package (or random combinations of dependencies if "all" is too many), then runs tests.
It could run either on push or nightly and would pick up issues like github.com/pydantic/pydan…
Does any such thing exist?
English

@willmcgugan @samuelcolvin @github I got one of these yesterday too, which was sort of upsetting... but then I thought that it was the first spam ever received since I'm active on @github, which has been a long while. So I guess it counts as a testament of the quality of the platform 🙂
English

@samuelcolvin @github Woke up to a tsunami of "issues" this morning. Relieved it was spam and not a Rich bug.
In fairness, of all the platforms I use, GitHub is the least spammy.
English

Seems like @github is being hit by a wave of spam.
I'm seeking multiple spam comments an hour, most are deleted straight away, but not all.
Did someone crack their "I am not a robot"?

English

I hope to not be committing any crime by declaring that you can find us as @psycopg@fosstodon.org
Whether we will keep on using this space or not depends on the quality of the interaction and the toxicity of the different networks.
#python #postgresql #freesoftware
English

@FreyaHolmer You can have your comments stored in GitHub issues comments. Take a look at utteranc.es
English

Very annoying... psycopg 3 threads stumble on each other, but can't figure out what is hogging the GIL (above: 1 thread benchmark, below, 4 threads, circled: GIL acquisition). How to debug it?
#Python #Debugging

English

@willmcgugan Are simple controls such as check boxes, radio, drop-downs implemented? Last time I checked there weren't, still needed curses, so no way to write a portable app
English

@sfermigier I tried, and no: you can't convert the URLs to a dict. It only works if it's on a single line.
English

@psycopg I don't really agree. On the left, we have DSL where some information are conventional. On the right, things are more regular and more directly map to an internal data structure. Also, you could change `projects.urls` to a dict to solve the issue you've mentioned.
English

Hints:
- @GitHubActions services don't support passing ARGS to docker run (which would be passed to the server)
- You can't override the ENTRYPOINT with a script from the repo, because the service starts before actions/checkout
Checkmate, AFAICS
github.com/psycopg/psycop…
English

It is impossible to configure the postgresql.conf of the @GitHub @GitHubAction @PostgreSQL service. For instance, impossible to enable two-phase commit.
Prove me wrong.
docs.github.com/en/actions/usi…
English

There could be a few lessons to learn here. One is to look into other provides (checking if @MacStadium has availability for Free-Software projects). We will also refactor the metadata to allow more flexibility in Psycopg 3.2.
English

Just released psycopg 3.1.7, but we couldn't build M1 binary packages as @Scaleway has no hardware availalble. So we made it compatible with psycopg-binary 3.1.6 (we could, this time, because only changes are in Python code).
#psycopg-3-1-7" target="_blank" rel="nofollow noopener">psycopg.org/psycopg3/docs/…
English




