In postgresql, creating a table referencing another table requires an exclusive lock on the other table.
Foreign keys require exclusive lock on referred table
Leave a reply
In postgresql, creating a table referencing another table requires an exclusive lock on the other table.