In plpgsql, allow foreign tables to define row types.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 37fb0170b74a0a4e1ebf19c7228330d941202841
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-11-12T23:49:15Z
Releases: 9.1.2
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.

Files

PathChange+/−
src/pl/plpgsql/src/pl_comp.c modified +6 −4