mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.9K
active users

#psycopg2

0 posts0 participants0 posts today
Replied in thread

@veronica #sqlalchemy has been nothing but trouble in our team. Lazy loading makes you have more transactions that last longer and also leads to the n+1 query problem. And I hate the query constructor to me it’s harder to understand than plain old SQL. We’re stripping it off to get back down to the #psycopg2 layer.

Replied in thread

@scy no it doesn’t help with migrations, so it probably doesn’t solve your problem. I knew that when I responded. I should have said more, especially that. The reason I answered, and the reason I answered with this is that we were on #sqlalchemy and it’s done nothing but get in the way. #psycopg2 was underneath and now we’re using that and life is much better. So that’s what I *prefer* though I’m sorry it’s not what you need.

🌗 Psycopg3 與 Psycopg2 的差異
➤ Psycopg3 與 Psycopg2 的差異及解決方案
psycopg.org/psycopg3/docs/basi
Psycopg3 與 Psycopg2 在使用上有幾個差異,例如伺服器端綁定、同一查詢中多個結果的返回、不同的類型轉換規則等。本文將介紹這些差異以及如何解決相關問題。
+ 很有用的文章,謝謝分享!
+ Psycopg3 真的很好用,但需要注意一些差異,這篇文章很詳細地介紹了這些差異及解決方案。
#Python #PostgreSQL #Psycopg3 #Psycopg2

www.psycopg.orgDifferences from psycopg2 - psycopg 3.2.0.dev1 documentation

Are you a #Django developer using a #celery job queue and #psycopg2-binary on #applesilicon ?

I'm deploying to Heroku which requires the binary, hence using it also in development.

Have you moved to psycopg2-binary v2.9.6?

If so, do you also have the problem where the celery worker falls over on the first interaction with the Django ORM? I get it on 2 different computers, but not on Intel.

My problem report: github.com/psycopg/psycopg2/is

Any thoughts on what might be going on?

@felixxm @carlton

GitHubpsycopg2-binary 2.9.6 breaks celery worker on Apple silicon · Issue #1593 · psycopg/psycopg2By richardbrockie