diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-14 23:59:23 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-14 23:59:23 +0000 |
commit | a50f2fd76e322eae0f2a7f3516da1f2ddf82fef2 (patch) | |
tree | 1ba8e93236d6d8038729d8c42357ad7bf85cd034 /src/interfaces/libpq/libpq-int.h | |
parent | 34235a295b307d3c50b2a74b20936f01b4ba76be (diff) |
Repair unintentional damage to MULTIBYTE code.
Diffstat (limited to 'src/interfaces/libpq/libpq-int.h')
-rw-r--r-- | src/interfaces/libpq/libpq-int.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h index 92bd9cfba83..bb0fb8ab4a0 100644 --- a/src/interfaces/libpq/libpq-int.h +++ b/src/interfaces/libpq/libpq-int.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: libpq-int.h,v 1.20 2000/03/11 03:08:37 tgl Exp $ + * $Id: libpq-int.h,v 1.21 2000/03/14 23:59:23 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -130,11 +130,14 @@ struct pg_result */ PGconn *xconn; /* connection we did the query on, if any */ - /* Callback procedure for notice/error message processing - * (copied from originating PGconn). + /* + * These fields are copied from the originating PGconn, so that + * operations on the PGresult don't have to reference the PGconn. */ - PQnoticeProcessor noticeHook; + PQnoticeProcessor noticeHook; /* notice/error message processor */ void *noticeArg; + int client_encoding; /* encoding id */ + char *errMsg; /* error message, or NULL if no error */ |