summaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 2beb148d98..a77abdcfc5 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -3075,6 +3075,13 @@ PostgresMain(int argc, char *argv[], const char *username)
}
case 'v':
+ /*
+ * -v is no longer used in normal operation, since
+ * FrontendProtocol is already set before we get here.
+ * We keep the switch only for possible use in standalone
+ * operation, in case we ever support using normal FE/BE
+ * protocol with a standalone backend.
+ */
if (secure)
FrontendProtocol = (ProtocolVersion) atoi(optarg);
break;