]> granicus.if.org Git - postgresql/commit
Fix another test for RELKIND_RELATION that should allow foreign tables now.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Apr 2015 19:34:35 +0000 (12:34 -0700)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Apr 2015 19:34:35 +0000 (12:34 -0700)
commit290713e31a1ee04eed7877985a4c28a30fd0d1db
treeed6d112338c8d5498924ff804c8e3077ea0e214d
parentad9f08f70636051b5d5fe8d57062994b7335a960
Fix another test for RELKIND_RELATION that should allow foreign tables now.

I thought I'd gone through all of these before, but a fresh review found
this one too.  (Perhaps it would be better to just delete this test and
let the failure occur later, but for the moment I'll preserve the logic.)

The case that this was rejecting is like
CREATE FOREIGN TABLE ft (f1 int ...) ...;
CREATE TABLE c1 (UNIQUE(f1)) INHERITS(ft);
src/backend/parser/parse_utilcmd.c