Skip to content

fix(plpgsql): expose check detail and hint#745

Merged
psteinroe merged 2 commits into
mainfrom
feat/plpgsql-details
May 27, 2026
Merged

fix(plpgsql): expose check detail and hint#745
psteinroe merged 2 commits into
mainfrom
feat/plpgsql-details

Conversation

@psteinroe
Copy link
Copy Markdown
Collaborator

Expose optional detail and hint fields from plpgsql_check diagnostics so editor users see the same context that Postgres reports alongside the primary message.

The fields are parsed from the JSON output, preserved as diagnostic advices, and appended to the LSP-visible diagnostic description only when non-empty. Existing diagnostics without detail or hint keep the same message shape.

Refs #743

@psteinroe psteinroe merged commit be6f837 into main May 27, 2026
9 checks passed
@psteinroe psteinroe deleted the feat/plpgsql-details branch May 27, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant