Re: [PyGreSQL] column types and libpq info functions

2019-07-20 Thread Justin Pryzby
On Fri, Jul 19, 2019 at 07:44:21PM -0500, Justin Pryzby wrote: > On Fri, Jun 07, 2019 at 09:06:26PM +0200, Christoph Zwerschke wrote: > > >pgdb has > > >|Cursor.coltypes > > >|The list of columns types of the current result set > > >|The values in this list are the same values as the type_code

Re: [PyGreSQL] column types and libpq info functions

2019-07-19 Thread Justin Pryzby
On Fri, Jun 07, 2019 at 09:06:26PM +0200, Christoph Zwerschke wrote: > >pgdb has > >|Cursor.coltypes > >|The list of columns types of the current result set > >|The values in this list are the same values as the type_code elements in > >the Cursor.description attribute. Always use the latter

Re: [PyGreSQL] column types and libpq info functions

2019-06-07 Thread Christoph Zwerschke
Am 07.06.2019 um 20:03 schrieb Justin Pryzby: |Add libpq function to report the memory size of the query result (Lars Kanis, Tom Lane) |The function is PQresultMemorySize(). We already have a ticket for this: http://trac.vex.net:8000/pgtracker/ticket/80 pgdb has |Cursor.coltypes |The

[PyGreSQL] column types and libpq info functions

2019-06-07 Thread Justin Pryzby
On Wed, May 15, 2019 at 08:44:49AM -0500, Justin Pryzby wrote: > Also, as of PG12 (unreleased), there'll be this new interface: > https://www.postgresql.org/docs/devel/release-12.html#id-1.3.7 > |Add libpq function to report the memory size of the query result (Lars > Kanis, Tom Lane) > |The