In plpgsql, allow foreign tables to define row types.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Nov 2011 23:49:09 +0000 (18:49 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Nov 2011 23:49:09 +0000 (18:49 -0500)
commit02d88efea1f719e59ce684c2e14bad23d55fdd15
tree74646fc4b609dbeba1cb889f23e6c72af4e2ade8
parent95d2af1646080474ad3e1f1303e68dd5799f9cad
In plpgsql, allow foreign tables to define row types.

This seems to have been just an oversight in previous foreign-table work.
A quick grep didn't turn up any other places where RELKIND_FOREIGN_TABLE
was obviously omitted.

One change noted by Alexander Soudakov, the other by me.
Back-patch to 9.1.
src/pl/plpgsql/src/pl_comp.c