Why does the following code return the exact same value each time, instead of a value based on the current time? CREATE FUNCTION memb_num () RETURNS INT4 AS ' BEGIN RETURN date_part(''epoch'', CURRENT_DATE); END; ' LANGUAGE 'plpgsql';
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных