Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6cc0a00

Browse files
committed
Fix acl error, and remove duplicate pqtrace.
1 parent1e7ba76 commit6cc0a00

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+
#ifdefNOT_USED
273+
274+
Whenthiselog(NOTICE)goestothelibpqclient,itcrashesthe
275+
clientbecausetheNOTICEprotocoliscomingrightinthemiddle
276+
ofarequestforafieldvalue.WeskiptheNOTICEfornow.
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-
.BPQtrace
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-
.BPQuntrace
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
.BPQexec

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp