In plpgsql, allow foreign tables to define row types.

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

Commit: 02d88efea1f719e59ce684c2e14bad23d55fdd15
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-11-12T23:49:09Z
Releases: 9.2.0
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