Fix ATSimpleRecursion() to allow recursion from a foreign table.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Apr 2015 19:25:00 +0000 (12:25 -0700)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Apr 2015 19:25:00 +0000 (12:25 -0700)
commitad9f08f70636051b5d5fe8d57062994b7335a960
treea1e226f9e9824461e13c10c28654ff9e922cd2ce
parentd3821e70c9b6d76083f4eb0f4cc25716e961c89d
Fix ATSimpleRecursion() to allow recursion from a foreign table.

This is necessary in view of the changes to allow foreign tables to be
full members of inheritance hierarchies, but I (tgl) unaccountably missed
it in commit cb1ca4d800621dcae67ca6c799006de99fa4f0a5.

Noted by Amit Langote, patch by Etsuro Fujita
src/backend/commands/tablecmds.c