Commit 3c554100 authored by Peter Eisentraut's avatar Peter Eisentraut

Remove unused function arguments

Was present in original commit
198b3716 but apparently never used.
parent 829daab4
...@@ -304,7 +304,7 @@ pqTraceOutputD(FILE *f, bool toServer, const char *message, int *cursor) ...@@ -304,7 +304,7 @@ pqTraceOutputD(FILE *f, bool toServer, const char *message, int *cursor)
/* NoticeResponse / ErrorResponse */ /* NoticeResponse / ErrorResponse */
static void static void
pqTraceOutputNR(FILE *f, const char *type, const char *message, int *cursor, pqTraceOutputNR(FILE *f, const char *type, const char *message, int *cursor,
int length, bool regress) bool regress)
{ {
fprintf(f, "%s\t", type); fprintf(f, "%s\t", type);
for (;;) for (;;)
...@@ -324,7 +324,7 @@ pqTraceOutputNR(FILE *f, const char *type, const char *message, int *cursor, ...@@ -324,7 +324,7 @@ pqTraceOutputNR(FILE *f, const char *type, const char *message, int *cursor,
/* Execute(F) or ErrorResponse(B) */ /* Execute(F) or ErrorResponse(B) */
static void static void
pqTraceOutputE(FILE *f, bool toServer, const char *message, int *cursor, int length, bool regress) pqTraceOutputE(FILE *f, bool toServer, const char *message, int *cursor, bool regress)
{ {
if (toServer) if (toServer)
{ {
...@@ -333,7 +333,7 @@ pqTraceOutputE(FILE *f, bool toServer, const char *message, int *cursor, int len ...@@ -333,7 +333,7 @@ pqTraceOutputE(FILE *f, bool toServer, const char *message, int *cursor, int len
pqTraceOutputInt32(f, message, cursor, false); pqTraceOutputInt32(f, message, cursor, false);
} }
else else
pqTraceOutputNR(f, "ErrorResponse", message, cursor, length, regress); pqTraceOutputNR(f, "ErrorResponse", message, cursor, regress);
} }
/* CopyFail */ /* CopyFail */
...@@ -595,7 +595,7 @@ pqTraceOutputMessage(PGconn *conn, const char *message, bool toServer) ...@@ -595,7 +595,7 @@ pqTraceOutputMessage(PGconn *conn, const char *message, bool toServer)
break; break;
case 'E': /* Execute(F) or Error Response(B) */ case 'E': /* Execute(F) or Error Response(B) */
pqTraceOutputE(conn->Pfdebug, toServer, message, &logCursor, pqTraceOutputE(conn->Pfdebug, toServer, message, &logCursor,
length, regress); regress);
break; break;
case 'f': /* Copy Fail */ case 'f': /* Copy Fail */
pqTraceOutputf(conn->Pfdebug, message, &logCursor); pqTraceOutputf(conn->Pfdebug, message, &logCursor);
...@@ -625,7 +625,7 @@ pqTraceOutputMessage(PGconn *conn, const char *message, bool toServer) ...@@ -625,7 +625,7 @@ pqTraceOutputMessage(PGconn *conn, const char *message, bool toServer)
break; break;
case 'N': case 'N':
pqTraceOutputNR(conn->Pfdebug, "NoticeResponse", message, pqTraceOutputNR(conn->Pfdebug, "NoticeResponse", message,
&logCursor, length, regress); &logCursor, regress);
break; break;
case 'P': /* Parse */ case 'P': /* Parse */
pqTraceOutputP(conn->Pfdebug, message, &logCursor, regress); pqTraceOutputP(conn->Pfdebug, message, &logCursor, regress);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment