diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-03-05 01:54:13 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-03-05 01:54:13 +0000 |
commit | 5b6d0a4df7e073ebca907ef00e2ee7c910b72513 (patch) | |
tree | 19a800c9b3c0ee436bdf9514b7700a872c3d0ba1 /src/interfaces/libpq/libpq-int.h | |
parent | 4a6bf72c6576dafab8bbd6dd23b0d2ff00de1d4b (diff) |
libpq's query to get the OIDs of large-object support functions was not
schema-safe. Make it so, and improve the internal support for knowledge
of server version.
Diffstat (limited to 'src/interfaces/libpq/libpq-int.h')
-rw-r--r-- | src/interfaces/libpq/libpq-int.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h index 40b161f78d3..27a0d71ab75 100644 --- a/src/interfaces/libpq/libpq-int.h +++ b/src/interfaces/libpq/libpq-int.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: libpq-int.h,v 1.82 2003/09/05 02:08:36 momjian Exp $ + * $Id: libpq-int.h,v 1.82.2.1 2004/03/05 01:54:13 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -277,7 +277,7 @@ struct pg_conn SockAddr laddr; /* Local address */ SockAddr raddr; /* Remote address */ ProtocolVersion pversion; /* FE/BE protocol version in use */ - char sversion[8]; /* The first few bytes of server version */ + int sversion; /* server version, e.g. 70401 for 7.4.1 */ /* Transient state needed while establishing connection */ struct addrinfo *addrlist; /* list of possible backend addresses */ |