Now that I look at it, PQoidValue() ain't quite right either.

This commit is contained in:
Tom Lane 2001-02-06 02:02:27 +00:00
parent 8558054aa4
commit 300e28888f

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.99 2001/02/06 02:00:09 tgl Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.100 2001/02/06 02:02:27 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -2049,7 +2049,7 @@ Oid
PQoidValue(const PGresult *res)
{
char *endptr = NULL;
long int result;
unsigned long result;
if (!res || !res->cmdStatus || strncmp(res->cmdStatus, "INSERT ", 7) != 0)
return InvalidOid;