Re: BUG #17036: generated column cann't modifyed auto when update

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "digoal(at)126(dot)com" <digoal(at)126(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17036: generated column cann't modifyed auto when update
Date: 2021-05-26 12:25:00
Message-ID: CAKFQuwarr8b2=2j2J4GuSV-FwqAXq38ebFR_wTUY=Lg9_YLCJg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wednesday, May 26, 2021, PG Bug reporting form <noreply(at)postgresql(dot)org>
wrote:

> The following bug has been logged on the website:
>
> Bug reference: 17036
> Logged by: Zhou Digoal
> Email address: digoal(at)126(dot)com
> PostgreSQL version: 14beta1
> Operating system: CentOS 7.7 x64
> Description:
>
> postgres=> create or replace function im_now () returns timestamptz as $$
>
>
> select
> CURRENT_TIMESTAMP;
>
>
> $$ language sql strict immutable;
> CREATE FUNCTION
>
> why mod_time cann't updated automatic?
>
>
Because that isn’t how this thing works...the lie you told it about being
immutable is a dead giveaway,

David J.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dmitry Dolgov 2021-05-26 13:50:49 Re: XX000: unknown type of jsonb container.
Previous Message PG Bug reporting form 2021-05-26 08:40:39 BUG #17036: generated column cann't modifyed auto when update