Re: Add FOREIGN to ALTER TABLE in pg_dump
Tom Lane <[email protected]> Tue, 14 Jan 2020 17:42:51 -0500
| Newsgroups | gmane.comp.db.postgresql.devel.general |
|---|---|
| Message-ID | <[email protected]> |
Alvaro Herrera <[email protected]> writes: >> On Mon, Jan 13, 2020 at 7:52 PM Tom Lane <[email protected]> wrote: >>> Isn't the change in the TAP test output sufficient? > Yeah, I think there should be at least one regexp in t/002_pg_dump.pl to > verify ALTER FOREIGN TABLE is being produced. > I wonder if Tom is thinking about Luis' other pg_dump patch for foreign > tables, which includes some changes to src/test/modules/test_pg_dump. No, I was just reacting to the comment that the TAP test was failing, and assuming that that meant the patch had already changed the expected output. Looking at the patch now, I suppose that just means it had incautiously changed whitespace or something for the non-foreign case. I can't get terribly excited about persuading that test to cover this trivial little bit of logic, but if you are, I won't stand in the way. regards, tom lane