Skip to content

Commit 6cc0a00

Browse files
committed
Fix acl error, and remove duplicate pqtrace.
1 parent 1e7ba76 commit 6cc0a00

File tree

2 files changed

+11
-18
lines changed

2 files changed

+11
-18
lines changed

src/backend/utils/adt/acl.c

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.18 1997/09/18 20:22:08 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.19 1997/11/01 05:21:38 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -269,8 +269,17 @@ aclitemout(AclItem *aip)
269269
{
270270
char *tmp = int2out(aip->ai_id);
271271

272+
#ifdef NOT_USED
273+
274+
When this elog(NOTICE) goes to the libpq client, it crashes the
275+
client because the NOTICE protocol is coming right in the middle
276+
of a request for a field value. We skip the NOTICE for now.
277+
272278
elog(NOTICE, "aclitemout: usesysid %d not found",
273279
aip->ai_id);
280+
281+
#endif
282+
274283
strcat(p, tmp);
275284
pfree(tmp);
276285
}

src/man/libpq.3

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.8 1997/10/22 02:08:38 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.9 1997/11/01 05:21:57 momjian Exp $
44
.TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL
55
.SH DESCRIPTION
66
Libpq is the programmer's interface to Postgres. Libpq is a set of
@@ -146,22 +146,6 @@ new connection to the same backend.
146146
void PQreset(PGconn *conn)
147147
.fi
148148
.PP
149-
.B PQtrace
150-
.IP
151-
Enables tracing of messages passed between the frontend and the backend.
152-
The messages are echoed to the debug_port file stream.
153-
.nf
154-
void PQtrace(PGconn *conn,
155-
FILE* debug_port);
156-
.fi
157-
.PP
158-
.B PQuntrace
159-
.IP
160-
Disables tracing of messages passed between the frontend and the backend.
161-
.nf
162-
void PQuntrace(PGconn *conn);
163-
.fi
164-
.PP
165149
.SH "Query Execution Functions"
166150
.PP
167151
.B PQexec

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy