Am 16.10.2012 um 10:56 schrieb Condor <condor@xxxxxxxxxx>: > You can use AS > select f_aliastest() AS alias; Yeah, thanks, well, my question is basically if there is a way to make the function alias-savvy. In the meantime I realized that the problem is not limited to return query execute SQL but to return query in general. Maximilian Tyrtania http://www.contactking.de -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general