Task: Add NOTICE logging support to sqlgen

Table of Contents

This page documents a task in the sqlgen improvements story. It captures the goal, current status, acceptance, and any notes or results.

Goal

Add Postgres NOTICE-processor support to sqlgen so PL/pgSQL RAISE NOTICE surfaces in client logs.

Status

Field Value
State DONE
Parent story sqlgen improvements
Now Completed 2026-02-01.
Waiting on None.
Next None.
Last touched 2026-02-01

Acceptance

  • Upstream proposal raised: getml/sqlgen#118.
  • Implementation PR open upstream: getml/sqlgen#120.

Plan

Captured during execution; cleared into the parent story on close.

Notes

Closes a long-standing visibility gap — PL/pgSQL functions were emitting useful diagnostic NOTICEs that nothing on the client side ever saw.

Result

Upstream PR open; waiting for review.

Emacs 29.1 (Org mode 9.6.6)