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 77/**
88 * PostgresAdvisoryLockScopeEnum defines the scope of advisory lock acquisition.
99 *
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
1220 */
1321enum PostgresAdvisoryLockScopeEnum
1422{
Original file line number Diff line number Diff line change 77/**
88 * PostgresAdvisoryLockTypeEnum defines the type of advisory lock acquisition.
99 *
10- * - NonBlocking. Attempt to acquire the lock without blocking:
10+ * - NonBlocking. Attempt to acquire the lock without blocking (with _TRY_) :
1111 * - PG_TRY_ADVISORY_LOCK
1212 * - PG_TRY_ADVISORY_LOCK_SHARED
1313 * - PG_TRY_ADVISORY_XACT_LOCK
1414 * - 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_) :
1616 * - PG_ADVISORY_LOCK
1717 * - PG_ADVISORY_LOCK_SHARED
1818 * - PG_ADVISORY_XACT_LOCK
You can’t perform that action at this time.
0 commit comments