Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Messages are not handled correctly

Open
#209 0 comments 0 reactions 0 assignees View on GitHub

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:

  1. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode-pgsql

All issues in microsoft/vscode-pgsql

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.