1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Fix acl error, and remove duplicate pqtrace.

This commit is contained in:
Bruce Momjian
1997-11-01 05:21:57 +00:00
parent 1e7ba76e43
commit 6cc0a00dec
2 changed files with 11 additions and 18 deletions

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.18 1997/09/18 20:22:08 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.19 1997/11/01 05:21:38 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -269,8 +269,17 @@ aclitemout(AclItem *aip)
{ {
char *tmp = int2out(aip->ai_id); char *tmp = int2out(aip->ai_id);
#ifdef NOT_USED
When this elog(NOTICE) goes to the libpq client, it crashes the
client because the NOTICE protocol is coming right in the middle
of a request for a field value. We skip the NOTICE for now.
elog(NOTICE, "aclitemout: usesysid %d not found", elog(NOTICE, "aclitemout: usesysid %d not found",
aip->ai_id); aip->ai_id);
#endif
strcat(p, tmp); strcat(p, tmp);
pfree(tmp); pfree(tmp);
} }

View File

@ -1,6 +1,6 @@
.\" This is -*-nroff-*- .\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here.... .\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.8 1997/10/22 02:08:38 momjian Exp $ .\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.9 1997/11/01 05:21:57 momjian Exp $
.TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL .TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL
.SH DESCRIPTION .SH DESCRIPTION
Libpq is the programmer's interface to Postgres. Libpq is a set of Libpq is the programmer's interface to Postgres. Libpq is a set of
@ -146,22 +146,6 @@ new connection to the same backend.
void PQreset(PGconn *conn) void PQreset(PGconn *conn)
.fi .fi
.PP .PP
.B PQtrace
.IP
Enables tracing of messages passed between the frontend and the backend.
The messages are echoed to the debug_port file stream.
.nf
void PQtrace(PGconn *conn,
FILE* debug_port);
.fi
.PP
.B PQuntrace
.IP
Disables tracing of messages passed between the frontend and the backend.
.nf
void PQuntrace(PGconn *conn);
.fi
.PP
.SH "Query Execution Functions" .SH "Query Execution Functions"
.PP .PP
.B PQexec .B PQexec