-
Notifications
You must be signed in to change notification settings - Fork 419
Connection methods does not accept classic nor unusual arguments supported in other pgsql connection solution #979
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
asyncpg is largely compatible with libpq conventions. Can you be more specific?
asyncpg calls this |
Hello and thanks for the quick reply. Then I guess the true issue here is a rename between usual connection string parameters and async connect parameters naming. I guessed it followed a lib spec, but did not found anything on options so though it was absent. Still feels strange that some options are renamed in the interface (ssl/options) are there others remaps ? Also, it does not seems documented, coming from SQLAlch, I do not have direct control on the parameters named and have to remap them in my connection sting so they are passed correctly to connection instance. |
Well, this isn't an asyncpg issue then. If things aren't clear or don't work, raise an issue on the SQLAlchemy tracker. |
Yes, I'll also oppen an issue on their side to remap parameters :) Still, I tried with the |
|
Thanks for the help. I will retry with this and let you know if I manage to make it run :) |
So I confirm that cluster is not passed through (don't know why).
But also, it is not an issue anymore as Cockroach change their system to use a dedicated URL instead of cluster option ^^ Sorry for the time lost and thanks again for the help. I'll open issues on SQLAlchemy sides for the parameters conversion :) |
Hello,
While trying to configure a Cockroach DB cluster async connection, there seems to be missing support for usual PostgreSQL parameters (or renamed) or supported options not frequently used.
I don't know why the connection part does not seems to follow other library but it would be nice to at least support all options existing in postgresql client (even renamed ^^).
For example, the part I am missing to connect is
options
keyword. It is used to provide complementary informations on the connection (in my case a cluster id to identify exact connection). Guess it is not mandatory by itself but it fells strange to have the issue only on asyncpg :/the issue with a local PostgreSQL install?: Cockroach Cloud
uvloop?:
The text was updated successfully, but these errors were encountered: