Add if exists to drop index statement for postgresql