Re: Push down time-related SQLValue functions to foreign server - Mailing list pgsql-hackers

From Alexander Pyhalov
Subject Re: Push down time-related SQLValue functions to foreign server
Date
Msg-id db6986fbc4c17e2f15f1c9cb226fd83e@postgrespro.ru
Whole thread Raw
In response to Re: Push down time-related SQLValue functions to foreign server  (Zhihong Yu <zyu@yugabyte.com>)
List 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 by date:

Previous
From: Zhihong Yu
Date:
Subject: Re: Push down time-related SQLValue functions to foreign server
Next
From: Zhihong Yu
Date:
Subject: Re: Push down time-related SQLValue functions to foreign server