On Mon, Mar 06, 2023 at 01:00:15PM -0800, Joseph Hammerman wrote: > Would it be data safe if I took an ACCESS EXCLUSIVE lock on the table? alter table gets ACCESS EXCLUSIVE lock on its own. You can test it trivially in psql on some side table. Best regards, depesz