From 6cc0a00deca18681f48a8afd1215659771a2b049 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Sat, 1 Nov 1997 05:21:57 +0000
Subject: [PATCH] Fix acl error, and remove duplicate pqtrace.

---
 src/backend/utils/adt/acl.c | 11 ++++++++++-
 src/man/libpq.3             | 18 +-----------------
 2 files changed, 11 insertions(+), 18 deletions(-)

diff --git a/src/backend/utils/adt/acl.c b/src/backend/utils/adt/acl.c
index f7467d29fda..0f7923f2ade 100644
--- a/src/backend/utils/adt/acl.c
+++ b/src/backend/utils/adt/acl.c
@@ -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);
 			}
diff --git a/src/man/libpq.3 b/src/man/libpq.3
index 8166b9652b0..92d62324e89 100644
--- a/src/man/libpq.3
+++ b/src/man/libpq.3
@@ -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
-- 
GitLab