Skip to content

fix: suppress PostgreSQL NOTICE messages from CREATE TABLE IF NOT EXISTS#43

Merged
jbiskur merged 1 commit intomainfrom
fix/suppress-pg-notices
Mar 20, 2026
Merged

fix: suppress PostgreSQL NOTICE messages from CREATE TABLE IF NOT EXISTS#43
jbiskur merged 1 commit intomainfrom
fix/suppress-pg-notices

Conversation

@jbiskur
Copy link
Contributor

@jbiskur jbiskur commented Mar 20, 2026

Summary

  • Suppress PostgreSQL NOTICE messages in the postgres.js adapter by adding onnotice: () => {} to connection options
  • Prevents noisy log output when CREATE TABLE IF NOT EXISTS finds tables already exist (cluster coordinator, pump state)

🤖 Generated with Claude Code

The postgres.js driver logs NOTICE-level messages when CREATE TABLE IF NOT EXISTS
finds the table already exists. This adds onnotice noop handler to suppress them.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jbiskur jbiskur merged commit 3def1d9 into main Mar 20, 2026
1 check passed
@jbiskur jbiskur deleted the fix/suppress-pg-notices branch March 20, 2026 10:53
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