How to alter the table to add a column without blocking the statement in Postgresql?
The below statement at the time of execution is getting stuck forever.
ALTER TABLE test_table ADD COLUMN test_column integer;
I tried killing all long-running queries but it didn't help. This table is in active use by the backend. Backend fires mostly <10 ms queries on the table.