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
2b70548b
Commit
2b70548b
authored
Mar 06, 2008
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document use of pg_locks.objid for advisory locks, suggestion from Marc Mamin
parent
4f887c6b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
doc/src/sgml/catalogs.sgml
doc/src/sgml/catalogs.sgml
+5
-2
doc/src/sgml/func.sgml
doc/src/sgml/func.sgml
+3
-2
No files found.
doc/src/sgml/catalogs.sgml
View file @
2b70548b
<!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.16
1 2008/01/31 18:40:02 tgl
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.16
2 2008/03/06 18:49:32 momjian
Exp $ -->
<!--
Documentation of the system catalogs, directed toward PostgreSQL developers
-->
...
...
@@ -5691,7 +5691,10 @@
<entry>any OID column</entry>
<entry>
OID of the object within its system catalog, or NULL if the
object is not a general database object
object is not a general database object.
For advisory locks it is used to distinguish the two key
spaces (<literal>1</> for an int8 key, <literal>2</> for two
int4 keys).
</entry>
</row>
<row>
...
...
doc/src/sgml/func.sgml
View file @
2b70548b
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.42
2 2008/03/03 18:09:0
2 momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.42
3 2008/03/06 18:49:3
2 momjian Exp $ -->
<chapter
id=
"functions"
>
<title>
Functions and Operators
</title>
...
...
@@ -12378,7 +12378,8 @@ SELECT (pg_stat_file('filename')).modification;
<para>
<function>
pg_advisory_lock
</>
locks an application-defined resource,
which can be identified either by a single 64-bit key value or two
32-bit key values (note that these two key spaces do not overlap). If
32-bit key values (note that these two key spaces do not overlap).
The key type is specified in
<literal>
pg_locks.objid
</>
. If
another session already holds a lock on the same resource, the
function will wait until the resource becomes available. The lock
is exclusive. Multiple lock requests stack, so that if the same resource
...
...
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