Fix acl error, and remove duplicate pqtrace.
This commit is contained in:
parent
1e7ba76e43
commit
6cc0a00dec
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
*
|
||||
* 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);
|
||||
|
||||
#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",
|
||||
aip->ai_id);
|
||||
|
||||
#endif
|
||||
|
||||
strcat(p, tmp);
|
||||
pfree(tmp);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
.\" This is -*-nroff-*-
|
||||
.\" 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
|
||||
.SH DESCRIPTION
|
||||
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)
|
||||
.fi
|
||||
.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"
|
||||
.PP
|
||||
.B PQexec
|
||||
|
|
Loading…
Reference in New Issue