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

From: Alexander Pyhalov <a(dot)pyhalov(at)postgrespro(dot)ru>
To: Zhihong Yu <zyu(at)yugabyte(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Push down time-related SQLValue functions to foreign server
Date: 2021-08-19 10:24:13
Message-ID: db6986fbc4c17e2f15f1c9cb226fd83e@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhihong Yu 2021-08-19 10:55:46 Re: Push down time-related SQLValue functions to foreign server
Previous Message Zhihong Yu 2021-08-19 10:22:39 Re: Push down time-related SQLValue functions to foreign server