Re: overriding current_timestamp

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: overriding current_timestamp
Дата
Msg-id 77434680-D54C-4BA5-83A1-B2F1D4B74E1A@justatheory.com
обсуждение исходный текст
Ответ на Re: overriding current_timestamp  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: overriding current_timestamp  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Feb 27, 2012, at 4:29 AM, Peter Eisentraut wrote:

>> I create a "mock" schema, add the function to it, and then put it in the search_path ahead of pg_catalog.
>
> That doesn't work for current_timestamp and similar built-in functions,
> because they are always mapped to the pg_catalog schema.

I use it for NOW() all the time.

David



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pgstat documentation tables
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: overriding current_timestamp