http://stackoverflow.com/a/1491329[^]There is no such feature in PostgreSQL. You can do it only in pl/PgSQL (or other pl/*), but not in plain SQL.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)