aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/init/postinit.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/utils/init/postinit.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/utils/init/postinit.c')
-rw-r--r--src/backend/utils/init/postinit.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c
index 60338397dbc..2a57a7acd74 100644
--- a/src/backend/utils/init/postinit.c
+++ b/src/backend/utils/init/postinit.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.91 2001/09/08 15:24:00 petere Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.92 2001/09/27 16:29:12 tgl Exp $
*
*
*-------------------------------------------------------------------------
@@ -46,8 +46,6 @@ static void InitCommunication(void);
static void ShutdownPostgres(void);
static bool ThereIsAtLeastOneUser(void);
-int lockingOff = 0; /* backend -L switch */
-
/*** InitPostgres support ***/
@@ -327,9 +325,6 @@ InitPostgres(const char *dbname, const char *username)
/* replace faked-up relcache entries with the real info */
RelationCacheInitializePhase2();
- if (lockingOff)
- LockDisable(true);
-
/*
* Figure out our postgres user id. In standalone mode we use a
* fixed id, otherwise we figure it out from the authenticated