diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 1887b11982c..9cd1d0abe35 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -323,7 +323,7 @@ InteractiveBackend(StringInfo inBuf) printf("statement: %s\n", inBuf->data); fflush(stdout); - return 'Q'; + return PqMsg_Query; } /* @@ -4966,9 +4966,9 @@ PostgresMain(const char *dbname, const char *username) break; /* - * 'X' means that the frontend is closing down the socket. EOF - * means unexpected loss of frontend connection. Either way, - * perform normal shutdown. + * PqMsg_Terminate means that the frontend is closing down the + * socket. EOF means unexpected loss of frontend connection. + * Either way, perform normal shutdown. */ case EOF: