Re: Push down time-related SQLValue functions to foreign server

Поиск
Список
Период
Сортировка
От Alexander Pyhalov
Тема Re: Push down time-related SQLValue functions to foreign server
Дата
Msg-id db6986fbc4c17e2f15f1c9cb226fd83e@postgrespro.ru
обсуждение исходный текст
Ответ на Re: Push down time-related SQLValue functions to foreign server  (Zhihong Yu <zyu@yugabyte.com>)
Список pgsql-hackers
Zhihong Yu писал 2021-08-19 13:22:

> Hi,
> For 0002 patch:
> 
> +   /* now() is stable, but we can ship it as it's replaced by
> parameter */
> +   return !(func_volatile(func_id) == PROVOLATILE_IMMUTABLE ||
> func_id == F_NOW);
> 
> Did you mean to say 'now() is unstable' ?

No, it's stable, not immutable, so we need additional check.
-- 
Best regards,
Alexander Pyhalov,
Postgres Professional



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

Предыдущее
От: Zhihong Yu
Дата:
Сообщение: Re: Push down time-related SQLValue functions to foreign server
Следующее
От: Zhihong Yu
Дата:
Сообщение: Re: Push down time-related SQLValue functions to foreign server