aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-09-27 16:29:13 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-09-27 16:29:13 +0000
commit3d59ad00e8cc6a1bd919280be839fca152149ec2 (patch)
tree7eea422e403926dfe6dca3e46d3eb9b1c57f9bf7 /src/backend/tcop/postgres.c
parent19656b7445995b0aa157a7e595c61ed10d1ba378 (diff)
downloadpostgresql-3d59ad00e8cc6a1bd919280be839fca152149ec2.tar.gz
postgresql-3d59ad00e8cc6a1bd919280be839fca152149ec2.zip
Remove useless LockDisable() function and associated overhead, per my
proposal of 26-Aug.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index feb8aea129f..7fe5eae4762 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.233 2001/09/21 17:06:12 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.234 2001/09/27 16:29:12 tgl Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
@@ -1096,7 +1096,6 @@ usage(char *progname)
printf("Developer options:\n");
printf(" -f [s|i|n|m|h] forbid use of some plan types\n");
printf(" -i do not execute queries\n");
- printf(" -L turn off locking\n");
printf(" -O allow system table structure changes\n");
printf(" -t [pa|pl|ex] show timings after each query\n");
printf(" -W NUM wait NUM seconds to allow attach from a debugger\n");
@@ -1207,7 +1206,7 @@ PostgresMain(int argc, char *argv[],
optind = 1; /* reset after postmaster's usage */
- while ((flag = getopt(argc, argv, "A:B:c:CD:d:Eef:FiLNOPo:p:S:st:v:W:x:-:")) != EOF)
+ while ((flag = getopt(argc, argv, "A:B:c:CD:d:Eef:FiNOPo:p:S:st:v:W:x:-:")) != EOF)
switch (flag)
{
case 'A':
@@ -1314,15 +1313,6 @@ PostgresMain(int argc, char *argv[],
dontExecute = true;
break;
- case 'L':
-
- /*
- * turn off locking
- */
- if (secure)
- lockingOff = 1;
- break;
-
case 'N':
/*
@@ -1726,7 +1716,7 @@ PostgresMain(int argc, char *argv[],
if (!IsUnderPostmaster)
{
puts("\nPOSTGRES backend interactive interface ");
- puts("$Revision: 1.233 $ $Date: 2001/09/21 17:06:12 $\n");
+ puts("$Revision: 1.234 $ $Date: 2001/09/27 16:29:12 $\n");
}
/*