Ivan Voras <ivoras@xxxxxxxxxxx> writes: > Are functions in language 'sql' handled differently than those of > language 'plpgsql'? Yes. > I think they're not so in any case a function will behave as a black box > with regards to the planner and optimizer (and views are always > 'transparent'). No. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance