From: dvarrazzo (@dvarrazzo) <noreply+dvarrazzo@github.com>
To: psycopg/psycopg <noreply+psycopg-psycopg@github.com>
Subject: Re: [psycopg/psycopg] issue #1500: Wrap missing libpq functions in the pq module
Date: Thu, 19 Nov 2026 22:51:20 +0000
Message-ID: <gh-psycopg-psycopg-1500-c7024445349@github.com> (raw)
In-Reply-To: <gh-psycopg-psycopg-1500@github.com>
References: <gh-psycopg-psycopg-1500@github.com>
@charlie-morrison ok for me. Yes, it seems you will need to add an enum. But no, I don't think you should make the default attributes + tuples. There should be no default. Note that the function should take `int` as input, the enum would only be a convenience to assemble a value via OR.