File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 7
7
/**
8
8
* PostgresAdvisoryLockScopeEnum defines the scope of advisory lock acquisition.
9
9
*
10
- * - Session: Session-level advisory lock (PG_ADVISORY_LOCK, PG_TRY_ADVISORY_LOCK)
11
- * - Transaction: Transaction-level advisory lock (PG_ADVISORY_XACT_LOCK, PG_TRY_ADVISORY_XACT_LOCK)
10
+ * - Session. Session-level advisory lock (without _XACT_):
11
+ * - PG_ADVISORY_LOCK
12
+ * - PG_ADVISORY_LOCK_SHARED
13
+ * - PG_TRY_ADVISORY_LOCK
14
+ * - PG_TRY_ADVISORY_LOCK_SHARED
15
+ * - Transaction. Transaction-level advisory lock (with _XACT_):
16
+ * - PG_ADVISORY_XACT_LOCK
17
+ * - PG_ADVISORY_XACT_LOCK_SHARED
18
+ * - PG_TRY_ADVISORY_XACT_LOCK
19
+ * - PG_TRY_ADVISORY_XACT_LOCK_SHARED
12
20
*/
13
21
enum PostgresAdvisoryLockScopeEnum
14
22
{
Original file line number Diff line number Diff line change 7
7
/**
8
8
* PostgresAdvisoryLockTypeEnum defines the type of advisory lock acquisition.
9
9
*
10
- * - NonBlocking. Attempt to acquire the lock without blocking:
10
+ * - NonBlocking. Attempt to acquire the lock without blocking (with _TRY_) :
11
11
* - PG_TRY_ADVISORY_LOCK
12
12
* - PG_TRY_ADVISORY_LOCK_SHARED
13
13
* - PG_TRY_ADVISORY_XACT_LOCK
14
14
* - PG_TRY_ADVISORY_XACT_LOCK_SHARED
15
- * - Blocking. Acquire the lock, blocking until it becomes available:
15
+ * - Blocking. Acquire the lock, blocking until it becomes available (without _TRY_) :
16
16
* - PG_ADVISORY_LOCK
17
17
* - PG_ADVISORY_LOCK_SHARED
18
18
* - PG_ADVISORY_XACT_LOCK
You can’t perform that action at this time.
0 commit comments