foreign partition DDL regression tests

Amit Langote <langote_amit_f8@lab.ntt.co.jp>

From: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
To: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2017-02-22T01:40:07Z
Lists: pgsql-hackers

Attachments

Ashutosh Bapat pointed out [0] that regression tests are missing for the
foreign partition DDL commands.  Attached patch takes care of that.

Thanks,
Amit

[0]
https://www.postgresql.org/message-id/CAFjFpRcrdzBRj0cZ%2BJAQmfSa2Tv8wSEcWAeYtDpV-YZnNna2sA%40mail.gmail.com

Commits

  1. Document lack of validation when attaching foreign partitions.

  2. Add tests for foreign partitions.