Rikard Pavelic <rikard(dot)pavelic(at)zg(dot)htnet(dot)hr> writes:> Does Postgres needs to wait for this lock
yes --- drop index takes exclusive lock on the table.
> or is this something that can be fixed?
no
regards, tom lane