libpq, PQdescribePrepared -> PQftype, PQfmod, no PQnullable - Mailing list pgsql-hackers

From Alex Goncharov
Subject libpq, PQdescribePrepared -> PQftype, PQfmod, no PQnullable
Date
Msg-id E1RBsGs-0002Q8-Ok@hanssachs.home
Whole thread Raw
Responses Re: libpq, PQdescribePrepared -> PQftype, PQfmod, no PQnullable
List pgsql-hackers
My understanding is that libpq does not allow one to find if a result
set column is nullable.

Is this right?

(I know how to get a table column nullability information from
pg_attribute.attnotnull, but when coding around the libpq API:
 * Is, OMG, ugly.
 * Doesn't cover the arbitrary SELECT statements.
)

Thanks,

-- Alex -- alex-goncharov@comcast.net --


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: checkpoints are duplicated even while the system is idle
Next
From: Heikki Linnakangas
Date:
Subject: Re: checkpoints are duplicated even while the system is idle