Messages are not handled correctly
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- postgresql, vscode
- Domain
- database
Research direction
Start by reproducing the PL/pgSQL example and inspect how POSTGRESQL QUERY RESULTS handles RAISE NOTICE output during execution. No source file or test is named; done means preserving the message's whitespace and displaying each notice immediately rather than only after execution finishes.
Written by the indexing model from the issue text.
Description
Describe the bug
When executing PL/pgSQL, log messages sent by the RAISE NOTICE command are not handled correctly in the POSTGRESQL QUERY RESULTS.
The message is being trimmed, and it appears only when the execution finishes.
To Reproduce
Steps to reproduce the behavior:
- Execute the following PL/pgSQL command:
DO $$ DECLARE i INT; BEGIN FOR i IN 1..10 LOOP RAISE NOTICE '%-%-%', REPEAT(' ', i), CONCAT('Message ', i), REPEAT(' ', i); PERFORM pg_sleep(1); END LOOP; END $$;
Expected behavior
The message is not trimmed, and it appears immediately after execution.
VS Code version
1.107.1
Extension Version
1.14.0
- Dominant language
- No language data
- Stars
- 395
- Forks
- 33
- Avg merge
- 1h 46m
- Merged PRs (30d)
- 3
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 microsoft/vscode-pgsql
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/vscode-pgsql#190 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/vscode-pgsql#307 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
microsoft/vscode-pgsql#306 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
microsoft/vscode-pgsql#305 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/vscode-pgsql#302 ·
All issues in microsoft/vscode-pgsql
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ClickHouse/clickhouse-connect#1066 · 5 reactions ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100