Michael Paquier <michael.paqu...@gmail.com> writes: > The patch looks good to me, could you add a regression test?
Done, thanks for the review. I stuck the test into triggers.sql, which is not completely on point since there are other ways to get to this error. But if we're thinking of it as a framework for testing other CheckTableNotInUse cases then adding it to e.g. create_index.sql doesn't seem right either. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers