Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
0180bd61
Commit
0180bd61
authored
Oct 13, 2011
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove all "traces" of trace_userlocks, because userlocks were removed
in PG 8.2.
parent
23610daf
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
41 deletions
+2
-41
doc/src/sgml/config.sgml
doc/src/sgml/config.sgml
+0
-22
src/backend/storage/lmgr/lock.c
src/backend/storage/lmgr/lock.c
+1
-7
src/backend/utils/misc/check_guc
src/backend/utils/misc/check_guc
+1
-1
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+0
-10
src/include/storage/lock.h
src/include/storage/lock.h
+0
-1
No files found.
doc/src/sgml/config.sgml
View file @
0180bd61
...
...
@@ -6192,28 +6192,6 @@ LOG: CleanUpLock: deleting: lock(0xb7acd844) id(24688,24696,0,0,0,1)
</listitem>
</varlistentry>
<varlistentry>
<term><varname>trace_userlocks</varname> (<type>boolean</type>)</term>
<indexterm>
<primary><varname>trace_userlocks</> configuration parameter</primary>
</indexterm>
<listitem>
<para>
If on, emit information about user lock usage. Output is the same
as for <symbol>trace_locks</symbol>, only for user locks.
</para>
<para>
User locks were removed as of PostgreSQL version 8.2. This option
currently has no effect.
</para>
<para>
This parameter is only available if the <symbol>LOCK_DEBUG</symbol>
macro was defined when <productname>PostgreSQL</productname> was
compiled.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>trace_lock_oidmin</varname> (<type>integer</type>)</term>
<indexterm>
...
...
src/backend/storage/lmgr/lock.c
View file @
0180bd61
...
...
@@ -213,12 +213,7 @@ static const LockMethodData user_lockmethod = {
AccessExclusiveLock
,
/* highest valid lock mode number */
true
,
LockConflicts
,
lock_mode_names
,
#ifdef LOCK_DEBUG
&
Trace_userlocks
#else
&
Dummy_trace
#endif
lock_mode_names
};
/*
...
...
@@ -276,7 +271,6 @@ static ResourceOwner awaitedOwner;
int
Trace_lock_oidmin
=
FirstNormalObjectId
;
bool
Trace_locks
=
false
;
bool
Trace_userlocks
=
false
;
int
Trace_lock_table
=
0
;
bool
Debug_deadlocks
=
false
;
...
...
src/backend/utils/misc/check_guc
View file @
0180bd61
...
...
@@ -20,7 +20,7 @@ INTENTIONALLY_NOT_INCLUDED="autocommit debug_deadlocks \
is_superuser lc_collate lc_ctype lc_messages lc_monetary lc_numeric lc_time
\
pre_auth_delay role seed server_encoding server_version server_version_int
\
session_authorization trace_lock_oidmin trace_lock_table trace_locks trace_lwlocks
\
trace_notify tra
ce_userlocks tra
nsaction_isolation transaction_read_only
\
trace_notify transaction_isolation transaction_read_only
\
zero_damaged_pages"
### What options are listed in postgresql.conf.sample, but don't appear
...
...
src/backend/utils/misc/guc.c
View file @
0180bd61
...
...
@@ -1058,16 +1058,6 @@ static struct config_bool ConfigureNamesBool[] =
false
,
NULL
,
NULL
,
NULL
},
{
{
"trace_userlocks"
,
PGC_SUSET
,
DEVELOPER_OPTIONS
,
gettext_noop
(
"No description available."
),
NULL
,
GUC_NOT_IN_SAMPLE
},
&
Trace_userlocks
,
false
,
NULL
,
NULL
,
NULL
},
{
{
"trace_lwlocks"
,
PGC_SUSET
,
DEVELOPER_OPTIONS
,
gettext_noop
(
"No description available."
),
...
...
src/include/storage/lock.h
View file @
0180bd61
...
...
@@ -34,7 +34,6 @@ extern int max_locks_per_xact;
#ifdef LOCK_DEBUG
extern
int
Trace_lock_oidmin
;
extern
bool
Trace_locks
;
extern
bool
Trace_userlocks
;
extern
int
Trace_lock_table
;
extern
bool
Debug_deadlocks
;
#endif
/* LOCK_DEBUG */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment