Thus spake Michael Richards
> > Why not overload PGTuples() instead (assuming it doesn't already do this)?
As mentioned in another posting, I meant PQntuples().
> Tuples returned tells you how many you can get using the getvalue series.
> If you tried that with an update, it core dumps. I think the two are
> really related, but fundamentally different.
I'm just thinking that it's easy for PQntuples() to tell what it has
to return and branch accordingly. It just makes it easier to remember
the function. No asking which get tuple count function works for update
and which for select.
--
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.