From: dvarrazzo (@dvarrazzo) <noreply+dvarrazzo@github.com>
To: psycopg/psycopg <noreply+psycopg-psycopg@github.com>
Subject: Re: [psycopg/psycopg] issue #1291: Notice Handling During Start Up Phase
Date: Wed, 08 Apr 2026 14:20:38 +0000
Message-ID: <gh-psycopg-psycopg-1291-c4206952871@github.com> (raw)
In-Reply-To: <gh-psycopg-psycopg-1291@github.com>
References: <gh-psycopg-psycopg-1291@github.com>
Mmm... we could think about addressing it.
Maybe we could install a temporary handler on connection and play back the notices as soon as the user install a handler of their own? It seems easier and doesn't require waiting for psycopg 3.4 than e.g. passing a notice handler as connection argument.
Not planning to do it immediately (in the next couple of weeks) but we could have a thought about how the fix would look like.