aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-exec.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-02-06 02:02:27 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-02-06 02:02:27 +0000
commit300e28888f63ee469244612f14fec5216eddef33 (patch)
tree1de9059bbdb0787a0e9878cf3d6564ab90a21fa8 /src/interfaces/libpq/fe-exec.c
parent8558054aa471726a77b043c09d81f29d42f2dd48 (diff)
downloadpostgresql-300e28888f63ee469244612f14fec5216eddef33.tar.gz
postgresql-300e28888f63ee469244612f14fec5216eddef33.zip
Now that I look at it, PQoidValue() ain't quite right either.
Diffstat (limited to 'src/interfaces/libpq/fe-exec.c')
-rw-r--r--src/interfaces/libpq/fe-exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-exec.c b/src/interfaces/libpq/fe-exec.c
index 36b64f55f10..6e03222a0d6 100644
--- a/src/interfaces/libpq/fe-exec.c
+++ b/src/interfaces/libpq/fe-exec.c
@@ -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;