Fernando Nasser <fnasser(at)redhat(dot)com> writes:
> Tom Lane wrote:
>> Okay, but then how will you refer unambiguously to the rowtype object?
> What about casting with the keyord ROW?
> func(ROW table)
> always refers to the row-type of table "table" even if there is
> a column called "table".
Strikes me as gratuituously different from the way everything else is
done. We have .* and %ROWTYPE and so forth, and they're all suffixes.
The closest analogy to your ROW syntax is CAST, but it doesn't alter the
initial interpretation of its argument.
I was toying with the notion of inventing some new notation like
table.**
I don't like double-asterisk much, but maybe there's some other symbol
we could use here?
regards, tom lane