On Sunday, June 28, 2015, Pavel Stehule <
pavel.stehule@gmail.com> wrote:
why require a script language in the first place, at least for this specific use case?
CREATE FUNCTION IF (VERSION <= 8.3.0) unnest(...)
Similar to the existing CINE syntax.
I am partial to making psql more powerful and self-contained but conditionals on versions as a primitive (albeit extension) of SQL seems reasonable at first blush.
David J.