Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZgSN-0002kq-TF for pgsql-general@arkaria.postgresql.org; Fri, 15 May 2020 19:57:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jZgSM-0002ne-L6 for pgsql-general@arkaria.postgresql.org; Fri, 15 May 2020 19:57:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZgSK-0002nX-Lc for pgsql-general@lists.postgresql.org; Fri, 15 May 2020 19:57:18 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZgSA-0008I7-C3 for pgsql-general@postgresql.org; Fri, 15 May 2020 19:57:14 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 0634E6AF; Fri, 15 May 2020 15:57:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 15 May 2020 15:57:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=2 AtjHOhI8iFMz/W1qXwbOYeVL4v0WYwU90grKwIo6Ns=; b=S2JOtyBM9Eu5nTAPv Xyn5bz6+4dmR5/j9ANEFUuOQ9qmSEgK/VPzJXrmRYsRZz5IkQ8ukgk5i2kANqsxQ P0uhR7A6wiWB4EBfA1u0i2u/ReDTXRySIO/i8zR4TxgchH9OAplbz0qiSoJ/XQbQ /YI9aR/OqKm3oNXsmZvPc+ab5cPSdauipVl92J7PGm39VbnLIBQbrpou0UDz9VaE E/6z5DG6lN5WeUgEveX2VGt0ohC99fhQZpew70k8NTiBvlsT2XdLb57Vxdwfva8n 5cGBWXhgWOnM4kT3fjhJipZPx6Vi5j1wA+NxOISECQ+lHyPuWttCnaQM0aICa6nj NudMQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=2AtjHOhI8iFMz/W1qXwbOYeVL4v0WYwU90grKwIo6 Ns=; b=D1ji5sOUPFtpCI+fGRj6WDIelOrUjQhKDqSByu+k1uza0c+ZuJCroHkNL PGNHLe3xB+iCq9KfggFj4epdnPbwj3Egf3Eo11iUODLQD+n6lowB/RYr+1myp2y7 CRG5Y6wMc6zIc97eSJ4Qy/nvej2IvrYCLz/1BC+oxle3wfkxRqgATRCkTxTH4DEV MTG8e2DOLZQkpL674QesO8J46hWy7mmSCHd3Wx+e8hWi4YHITDk8LZJXOOG779Gf rtR+AmALnh9JR49gaDsIqk4PZXzwPZ5XtGMsIlfp2DN/KZRo041f6zhdtYWNQSkB 7iij2sFEHvbIv6ebewS4vKqIJ6LdA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrleekgddugeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnheptedvteeggf fhheejfeejkeeitdegkedvueeuhffgfeejheevkeefvddtleeiteegnecuffhomhgrihhn pehpohhsthhgrhgvshhqlhdqrghrtghhihhvvgdrohhrghenucfkphepjeehrddujedvrd ehrddvfedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id B098A306634B; Fri, 15 May 2020 15:57:01 -0400 (EDT) Subject: Re: Bug on version 12 ? To: PegoraroF10 , pgsql-general@postgresql.org 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> From: Adrian Klaver Message-ID: Date: Fri, 15 May 2020 12:57:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <1589571304095-0.post@n3.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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