"Tambet Matiisen" <[EMAIL PROTECTED]> writes: > How tough it would be to implement
> CREATE VIEW xxx PARAMETERS (yyy) AS zzz; > as > CREATE TYPE xxx; > CREATE FUNCTION xxx(yyy) RETURNING SETOF xxx LANGUAGE sql AS 'zzz'; What's the point? It'd be nonstandard anyway, so just use the function. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend