unknown function name: set_config(STRING,STRING,BOOLEAN) when using parameters in `CONCAT` function
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by reproducing the parameterized CONCAT query with asyncpg 0.30.0 against QuestDB 8.1.4 under asyncio and uvloop, then compare it with the reported libpqxx behavior. Done means identifying whether the set_config error comes from asyncpg's query handling or QuestDB compatibility and documenting a confirmed fix or limitation.
Written by the indexing model from the issue text.
Description
- asyncpg version: 0.30.0
- PostgreSQL version: QuestDB 8.1.4
- Do you use a PostgreSQL SaaS? If so, which? Can you reproduce
the issue with a local PostgreSQL install?: - - Python version: 3.12.7
- Platform: Linux 6.11.5-arch1-1
- Do you use pgbouncer?: no
- Did you install asyncpg with pip?: yes
- If you built asyncpg locally, which version of Cython did you use?: -
- Can the issue be reproduced under both asyncio and
uvloop?: yes
Hello,
I am using asyncpg with QuestDB and I am getting an error with this query:
SELECT FIRST("value")
FROM "values"
WHERE "type" = CONCAT('X', $1, '-', $2)
The error:
asyncpg.exceptions._base.UnknownPostgresError: unknown function name: set_config(STRING,STRING,BOOLEAN)
It works when sending the same query using libpqxx in C++, so I think this is not a problem with QuestDB.
- Dominant language
- Python
- Stars
- 8.1k
- Forks
- 469
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 9
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MagicStack/asyncpg
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MagicStack/asyncpg#1357 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
MagicStack/asyncpg#1354 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
MagicStack/asyncpg#1342 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 56/100
MagicStack/asyncpg#1340 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 28/100
MagicStack/asyncpg#1337 ·
All issues in MagicStack/asyncpg
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·