Alexander Farber <alexander.farber@xxxxxxxxx> writes: > in 9.5.3 I have defined the following custom function: > CREATE OR REPLACE FUNCTION words_select_games(IN in_uid integer) > RETURNS SETOF RECORD AS > I have also unsuccessfully tried > RETURNS SETOF words_games, words_moves AS > How would you recommend to fix my declaration problem please? I think you are looking for the RETURNS TABLE syntax. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general