>>>>> "Tom" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
Tom> [ I assume you forgot a create type footype here ]
yeah, sorry
Tom> Well, it's not insane on its face. The rowtype of f in the
Tom> first example is necessarily a built-on-the-fly record, but in
Tom> the second case using the properties of the underlying named
Tom> composite type is possible, and consistent with what happens in
Tom> 9.3 and earlier. (Not that I'm claiming we were or are totally
Tom> consistent ...)
Right, but your changes to the code make it look like there was an
intended change there - with the scan type tupdesc being forced to
RECORD type and its column names changed.
--
Andrew (irc:RhodiumToad)