Re: Bug on version 12 ? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Bug on version 12 ?
Date
Msg-id fb6957a3-aaf4-7de3-5512-e152c3e6f38b@aklaver.com
Whole thread Raw
In response to Re: Bug on version 12 ?  (PegoraroF10 <marcos@f10.com.br>)
List pgsql-general
On 5/15/20 12:35 PM, PegoraroF10 wrote:
> I understood, but the problem is that I cannot just migrate from 11 to 12, I
> have to carefully verify all code before migration.

It would be helpful to include the information you are responding to.

The simplest case works on 11:

select version();
                                                              version 


---------------------------------------------------------------------------------------------------------------------------------
  PostgreSQL 11.8 (Ubuntu 11.8-1.pgdg18.04+1) on x86_64-pc-linux-gnu, 
compiled by gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, 64-bit

select (jsonb_build_object('mydate',
test(# current_timestamp)->>'mydate')::timestamptz;
           timestamptz
-------------------------------
  2020-05-15 12:55:26.259151-07
(1 row)

> 
> 
> 
> --
> Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: PegoraroF10
Date:
Subject: Re: Bug on version 12 ?
Next
From: Andy Cooper
Date:
Subject: Unexplained Access Exclusive Locks on Follower from PID7