Re: overriding current_timestamp

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: overriding current_timestamp
Дата
Msg-id 1330371567.7111.28.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: overriding current_timestamp  ("David E. Wheeler" <david@justatheory.com>)
Ответы Re: overriding current_timestamp  ("David E. Wheeler" <david@justatheory.com>)
Список pgsql-hackers
On mån, 2012-02-27 at 08:48 -0800, David E. Wheeler wrote:
> 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.

But it won't work for current_timestamp.



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Command Triggers, patch v11
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: overriding current_timestamp