Re: Bug in libpq implentation and omission in documentation? - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Bug in libpq implentation and omission in documentation?
Date
Msg-id 502904E9.5010503@enterprisedb.com
Whole thread Raw
In response to Re: Bug in libpq implentation and omission in documentation?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 08.08.2012 17:35, Tom Lane wrote:
> A runtime check for too many parameters seems appropriate.  Assuming
> that the error message it throws is well written, I don't think we need
> to adjust the documentation.  There are many limitations that are not
> spelled out in the docs, and adding every one of them would not amount
> to a net improvement.  Considering that Jim is the first to try this in
> however many years it's been since 7.4, I don't think that everybody
> needs to read about this restriction while they're trying to absorb what
> PQexecParams does.

Runtime check added to the functions that take an nParams argument.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Yet another failure mode in pg_upgrade
Next
From: Pavel Stehule
Date:
Subject: sharing variables between client and server again