aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2020-11-10 13:08:21 +0100
committerMagnus Hagander <magnus@hagander.net>2020-11-10 13:15:01 +0100
commitd2e4bf688e16f95d180b68b7cbb7881b12434dba (patch)
tree8779c49d2b0b3805049d68a6a79d50bc9310c1d0 /src/backend/tcop/postgres.c
parent6c57f2ed16e1281067e3dde7e006e2d1cab72116 (diff)
downloadpostgresql-d2e4bf688e16f95d180b68b7cbb7881b12434dba.tar.gz
postgresql-d2e4bf688e16f95d180b68b7cbb7881b12434dba.zip
Remove -o option to postmaster
This option was declared obsolete many years ago. Reviewed-By: Tom Lane Discussion: https://postgr.es/m/CABUevEyOE=9CQwZm2j=vwP5+6OLCSoxn9pBjK8gyRdkTzMfqtQ@mail.gmail.com
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 411cfadbff3..7c5f7c775b9 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -3554,7 +3554,7 @@ process_postgres_switches(int argc, char *argv[], GucContext ctx,
* postmaster/postmaster.c (the option sets should not conflict) and with
* the common help() function in main/main.c.
*/
- while ((flag = getopt(argc, argv, "B:bc:C:D:d:EeFf:h:ijk:lN:nOo:Pp:r:S:sTt:v:W:-:")) != -1)
+ while ((flag = getopt(argc, argv, "B:bc:C:D:d:EeFf:h:ijk:lN:nOPp:r:S:sTt:v:W:-:")) != -1)
{
switch (flag)
{
@@ -3632,10 +3632,6 @@ process_postgres_switches(int argc, char *argv[], GucContext ctx,
SetConfigOption("allow_system_table_mods", "true", ctx, gucsource);
break;
- case 'o':
- errs++;
- break;
-
case 'P':
SetConfigOption("ignore_system_indexes", "true", ctx, gucsource);
break;