pg_duckdb icon indicating copy to clipboard operation
pg_duckdb copied to clipboard

[chore]: Introduce lock check for some functions

Open Y-- opened this issue 1 year ago • 1 comments

Description

Following this comment https://github.com/duckdb/pg_duckdb/pull/415/files#r1837875339 we want to introduce a way to ensure certain non-thread safe functions are indeed called under a lock.

Y-- avatar Nov 12 '24 13:11 Y--

Another option is to introduce re-entrant (aka recursive) lock and actually take the lock in those functions.

JelteF avatar Nov 12 '24 13:11 JelteF