pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: PegoraroF10 <marcos@f10.com.br>
To: pgsql-general@postgresql.org
Subject: Re: Bug on version 12 ?
Date: Fri, 15 May 2020 12:57:00 -0700
Message-ID: <fb6957a3-aaf4-7de3-5512-e152c3e6f38b@aklaver.com> (raw)
In-Reply-To: <1589571304095-0.post@n3.nabble.com>
References: <1589555314264-0.post@n3.nabble.com>
	<12005.1589560060@sss.pgh.pa.us>
	<1589560708455-0.post@n3.nabble.com>
	<26166.1589567647@sss.pgh.pa.us>
	<1589571304095-0.post@n3.nabble.com>

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





view thread (13+ messages)  latest in thread

Message-ID: <fb6957a3-aaf4-7de3-5512-e152c3e6f38b@aklaver.com>
Permalink:  ../fb6957a3-aaf4-7de3-5512-e152c3e6f38b@aklaver.com/
Also on:    postgresql.org/message-id/fb6957a3-aaf4-7de3-5512-e152c3e6f38b@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, marcos@f10.com.br
  Subject: Re: Bug on version 12 ?
  In-Reply-To: <fb6957a3-aaf4-7de3-5512-e152c3e6f38b@aklaver.com>
  References: <1589555314264-0.post@n3.nabble.com> <12005.1589560060@sss.pgh.pa.us> <1589560708455-0.post@n3.nabble.com> <26166.1589567647@sss.pgh.pa.us> <1589571304095-0.post@n3.nabble.com> <fb6957a3-aaf4-7de3-5512-e152c3e6f38b@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox