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
Calling the command
SELECT * FROM pg_background_result(pg_background_launch('REINDEX INDEX CONCURRENTLY public.pgbench_branches_pkey')) AS (result text);
causes it to hang.
The lock analysis revealed
pid
blocked_by
state
wait
wait_age
tx_age
usename
datname
blkd
query
3 215 028
{}
active
IPC:MessageQueueReceive
00:10:32
postgres
test12072024
1
[3215028] SELECT * FROM pg_background_result(pg_background_launch('REINDEX INDEX CONCURRENTLY public.pgbench_branches_pkey')) AS (result text)
3 219 682
{3 215 028}
waiting
Lock:virtualxid
00:10:32
00:10:32
postgres
test12072024
0
[3219682] . REINDEX INDEX CONCURRENTLY public.pgbench_branches_pkey
Is it possible to use pg_background to perform REINDEX INDEX CONCURRENTLY?
The text was updated successfully, but these errors were encountered:
Calling the command
SELECT * FROM pg_background_result(pg_background_launch('REINDEX INDEX CONCURRENTLY public.pgbench_branches_pkey')) AS (result text);
causes it to hang.
The lock analysis revealed
Is it possible to use pg_background to perform REINDEX INDEX CONCURRENTLY?
The text was updated successfully, but these errors were encountered: