pg.ddx.io  psycopg/psycopg GitHub issues and pull requests  
help / color / mirror / Atom feed
From: charlie-morrison (@charlie-morrison) <noreply+charlie-morrison@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: Wed, 18 Nov 2026 18:39:57 +0000
Message-ID: <gh-psycopg-psycopg-1500-c6988032488@github.com> (raw)
In-Reply-To: <gh-psycopg-psycopg-1500@github.com>
References: <gh-psycopg-psycopg-1500@github.com>

@dvarrazzo could I take `PQsetvalue()` → `PGresult.set_value()` and `PQcopyResult()` → `PGresult.copy()`? Both would get the Python and the C implementation, plus tests. That doesn't overlap with what Abhishek-Rath picked (`memory_size`, then the error verbosity group).

For `copy()` I'd expose the `PG_COPYRES_*` flags as a `pq.CopyResultFlag` IntFlag, next to `Trace`, and default to attributes + tuples. If you'd rather have a different shape, I'll follow yours.


view thread (6+ messages)  latest in thread

Message-ID: <gh-psycopg-psycopg-1500-c6988032488@github.com>
Permalink:  ../gh-psycopg-psycopg-1500-c6988032488@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox