timestamp/function question

Поиск
Список
Период
Сортировка
От Soma Interesting
Тема timestamp/function question
Дата
Msg-id 5.0.2.1.0.20010328215412.026df008@pop.telus.net
обсуждение исходный текст
Ответы Re: timestamp/function question
Re: timestamp/function question
Список pgsql-general
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 по дате отправления:

Предыдущее
От: Marc Wrubleski
Дата:
Сообщение: Re: Determine Time in other Time Zone
Следующее
От: Pruner Jan
Дата:
Сообщение: RE: Re: Patch (tiny): \cd (change dir) for psql.