You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error 1:
Executor Error: DuckDB re-planning failed: IO Error: Could not set lock on file "/var/lib/postgresql/data/duckdb_cache/.lock": Conflicting lock is held in /usr/lib/postgresql/16/bin/postgres (PID 14334) by user root. See also https://duckdb.org/docs/connect/concurrency
Error 2:
ERROR: (PGDuckDB/CreatePlan) Prepared query returned an error: 'IO Error: Could not set lock on file "/var/lib/postgresql/data/duckdb_cache/.lock": Conflicting lock is held in /usr/lib/postgresql/16/bin/postgres (PID 14283) by user root. See also https://duckdb.org/docs/connect/concurrency
Hey Guys, I am currently using the pg_duckdb extension as a data transfer tool to read data from data warehouse to PostgreSQL. Everything works fine until I try to run multiple
'CREATE TABLE tableA as SELECT * FROM read_parquet('$path') AS ()'
statements concurrently, error occurred as Error 1 & Error 2
So I checked the pg_stat_activity and found that PID 14334 was running another 'CREATE TABLE' SQL statement.
My question is: Does pg_duckdb support multiple concurrent write operations in PostgreSQL?
The text was updated successfully, but these errors were encountered:
XiangyuFan17
changed the title
[bug/feat]: IO Error: Could not set lock on file "/var/lib/postgresql/data/duckdb_cache/.lock"...
IO Error: Could not set lock on file "/var/lib/postgresql/data/duckdb_cache/.lock"...
Jan 3, 2025
Description
Error 1:
Executor Error: DuckDB re-planning failed: IO Error: Could not set lock on file "/var/lib/postgresql/data/duckdb_cache/.lock": Conflicting lock is held in /usr/lib/postgresql/16/bin/postgres (PID 14334) by user root. See also https://duckdb.org/docs/connect/concurrency
Error 2:
ERROR: (PGDuckDB/CreatePlan) Prepared query returned an error: 'IO Error: Could not set lock on file "/var/lib/postgresql/data/duckdb_cache/.lock": Conflicting lock is held in /usr/lib/postgresql/16/bin/postgres (PID 14283) by user root. See also https://duckdb.org/docs/connect/concurrency
Hey Guys, I am currently using the pg_duckdb extension as a data transfer tool to read data from data warehouse to PostgreSQL. Everything works fine until I try to run multiple
'CREATE TABLE tableA as SELECT * FROM read_parquet('$path') AS ()'
statements concurrently, error occurred as Error 1 & Error 2
So I checked the pg_stat_activity and found that PID 14334 was running another 'CREATE TABLE' SQL statement.
My question is: Does pg_duckdb support multiple concurrent write operations in PostgreSQL?
The text was updated successfully, but these errors were encountered: