apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46012] apr_dbd_pgsql does not check column number
Date Wed, 15 Oct 2008 12:12:59 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46012





--- Comment #2 from Michiel van Loon <michiel@van-loon.xs4all.nl>  2008-10-15 05:12:58
PST ---
PQnfields just returns res->numAttributes if res is valid. I don't think it is
needed to store the result.

from fe-exec.c of libpq:

int
PQnfields(const PGresult *res)
{
                 if (!res)
                                 return 0;
                 return res->numAttributes;
}


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message