libpq, PQdescribePrepared -> PQftype, PQfmod, no PQnullable

From: Alex Goncharov <alex-goncharov(at)comcast(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Alex Goncharov <alex-goncharov(at)comcast(dot)net>
Subject: libpq, PQdescribePrepared -> PQftype, PQfmod, no PQnullable
Date: 2011-10-06 18:02:14
Message-ID: E1RBsGs-0002Q8-Ok@hanssachs.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)comcast(dot)net --

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2011-10-06 18:05:16 Re: checkpoints are duplicated even while the system is idle
Previous Message Tom Lane 2011-10-06 17:58:50 Re: checkpoints are duplicated even while the system is idle