Bob Pawley wrote:
HiI want to try using functions but I am having trouble understanding return. ... The error message - "control reached end of function without RETURN" I have attempted adding - Return integer; to the end of the function with no success.
I'd try addingRETURN 1; or similar, before the END;
-- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general