Home
last modified time | relevance | path

Searched refs:PARTITION_LOCK (Results 1 – 25 of 28) sorted by relevance

12

/dports/databases/postgresql11-client/postgresql-11.14/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql11-plperl/postgresql-11.14/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql11-docs/postgresql-11.14/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql11-contrib/postgresql-11.14/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql11-plpython/postgresql-11.14/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql11-pltcl/postgresql-11.14/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql14-pltcl/postgresql-14.1/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql14-server/postgresql-14.1/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql14-plpython/postgresql-14.1/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql14-plperl/postgresql-14.1/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql13-server/postgresql-13.5/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql14-client/postgresql-14.1/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql14-docs/postgresql-14.1/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql14-contrib/postgresql-14.1/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql13-pltcl/postgresql-13.5/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql12-server/postgresql-12.9/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition),
407 LWLockRelease(PARTITION_LOCK(hash_table, partition));
527 LWLockRelease(PARTITION_LOCK(hash_table, partition));
554 LWLockRelease(PARTITION_LOCK(hash_table, partition));
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i)));
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED);
647 LWLockRelease(PARTITION_LOCK(hash_table, i));
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i)));
704 LWLockRelease(PARTITION_LOCK(hash_table, 0));
[all …]
/dports/databases/postgresql13-docs/postgresql-13.5/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql12-contrib/postgresql-12.9/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition),
407 LWLockRelease(PARTITION_LOCK(hash_table, partition));
527 LWLockRelease(PARTITION_LOCK(hash_table, partition));
554 LWLockRelease(PARTITION_LOCK(hash_table, partition));
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i)));
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED);
647 LWLockRelease(PARTITION_LOCK(hash_table, i));
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i)));
704 LWLockRelease(PARTITION_LOCK(hash_table, 0));
[all …]
/dports/databases/postgresql12-plperl/postgresql-12.9/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition),
407 LWLockRelease(PARTITION_LOCK(hash_table, partition));
527 LWLockRelease(PARTITION_LOCK(hash_table, partition));
554 LWLockRelease(PARTITION_LOCK(hash_table, partition));
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i)));
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED);
647 LWLockRelease(PARTITION_LOCK(hash_table, i));
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i)));
704 LWLockRelease(PARTITION_LOCK(hash_table, 0));
[all …]
/dports/databases/postgresql12-pltcl/postgresql-12.9/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql13-contrib/postgresql-13.5/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql12-docs/postgresql-12.9/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition),
407 LWLockRelease(PARTITION_LOCK(hash_table, partition));
527 LWLockRelease(PARTITION_LOCK(hash_table, partition));
554 LWLockRelease(PARTITION_LOCK(hash_table, partition));
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i)));
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED);
647 LWLockRelease(PARTITION_LOCK(hash_table, i));
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i)));
704 LWLockRelease(PARTITION_LOCK(hash_table, 0));
[all …]
/dports/databases/postgresql12-client/postgresql-12.9/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql12-plpython/postgresql-12.9/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \ macro
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition), in dshash_find()
407 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_find()
527 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_key()
554 LWLockRelease(PARTITION_LOCK(hash_table, partition)); in dshash_delete_entry()
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in dshash_dump()
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED); in dshash_dump()
647 LWLockRelease(PARTITION_LOCK(hash_table, i)); in dshash_dump()
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i))); in resize()
704 LWLockRelease(PARTITION_LOCK(hash_table, 0)); in resize()
[all …]
/dports/databases/postgresql11-server/postgresql-11.14/src/backend/lib/
H A Ddshash.c186 #define PARTITION_LOCK(hash_table, i) \
397 LWLockAcquire(PARTITION_LOCK(hash_table, partition),
407 LWLockRelease(PARTITION_LOCK(hash_table, partition));
527 LWLockRelease(PARTITION_LOCK(hash_table, partition));
554 LWLockRelease(PARTITION_LOCK(hash_table, partition));
610 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i)));
611 LWLockAcquire(PARTITION_LOCK(hash_table, i), LW_SHARED);
647 LWLockRelease(PARTITION_LOCK(hash_table, i));
695 Assert(!LWLockHeldByMe(PARTITION_LOCK(hash_table, i)));
704 LWLockRelease(PARTITION_LOCK(hash_table, 0));
[all …]

12