Now that I look at it, PQoidValue() ain't quite right either.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Feb 2001 02:02:27 +0000 (02:02 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Feb 2001 02:02:27 +0000 (02:02 +0000)
src/interfaces/libpq/fe-exec.c

index 36b64f55f10ae5138d12b3ee2f0d4f2d7d5a6024..6e03222a0d6dab519fd8b49f2ecc6c5f80149220 100644 (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;