Connection methods does not accept classic nor unusual arguments supported in other pgsql connection solution
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
研究方向
報告提到了 asyncpg 的連線方法和 PostgreSQL 用戶端的 options 參數,但沒有指出任何儲存庫檔案或測試。首先定位連線進入點,並將其接受的引數與 PostgreSQL 選項進行比較。在實作之前定義支援範圍;完成意味著所要求的連線選項已被接受,並由回歸測試涵蓋。
由索引模型根據 Issue 內容生成。
描述
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 :/
- asyncpg version: Version: 0.26.0
- PostgreSQL version:
- Do you use a PostgreSQL SaaS? If so, which? Can you reproduce
the issue with a local PostgreSQL install?: Cockroach Cloud - Python version: 3.10.7 (venv)
- Platform: Linux (Docker VSCode python dev container)
- Do you use pgbouncer?: No
- Did you install asyncpg with pip?: Yes (using setuptools)
- If you built asyncpg locally, which version of Cython did you use?:
- Can the issue be reproduced under both asyncio and
uvloop?:
- 主要語言
- Python
- 星號
- 8.1k
- 分支
- 474
- 平均合併
- 1 天 17 小時
- 30 天內合併 PR
- 24
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
MagicStack/asyncpg 的其他 Issue
-
Failed BEGIN leaves Connection._top_xact set; every later transaction becomes a SAVEPOINT and fails with NoActiveSQLTransactionError可能已有人在做 @devtechedge 於 5 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 35/100
MagicStack/asyncpg#1386 ·
維護者通常 1 天內回覆
-
Connect call failed error doesn't distinguish port mismatch from "server not running"可能已有人在做 @aryansk 於 57 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 72/100
MagicStack/asyncpg#1342 ·
維護者通常 1 天內回覆
-
TypeError in asyncpg.connect() for specific parameters when values are not str enough可能已有人在做 @pranjalm37 於 60 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 56/100
MagicStack/asyncpg#1340 · 1 則留言 ·
維護者通常 1 天內回覆
-
setup.py relies on deprecated pkg_resources可能已有人在做 @jasonwbarnett 於 89 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 28/100
MagicStack/asyncpg#1337 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 42/100
MagicStack/asyncpg#1330 · 1 則留言 ·
維護者通常 1 天內回覆
查看 MagicStack/asyncpg 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 84/100
huggingface/smolagents#2976 ·
維護者通常 1 天內回覆
-
bug Triage-Needed
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 66/100
FuRongJun-1999/dsh-memory#170 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
pgvector/pgvector-python#163 ·
-
難度 1/5 1 小時以內 新手友好度 82/100
521xueweihan/HelloGitHub#3940 ·