Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDGPQ-0001gp-LM for pgsql-committers@arkaria.postgresql.org; Wed, 25 Sep 2019 23:09:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iDGPP-00068c-Bg for pgsql-committers@arkaria.postgresql.org; Wed, 25 Sep 2019 23:09:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDGPO-00068V-QD for pgsql-committers@lists.postgresql.org; Wed, 25 Sep 2019 23:09:19 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1iDGPL-0007Dx-T3 for pgsql-committers@lists.postgresql.org; Wed, 25 Sep 2019 23:09:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Date:Message-Id:Subject:To:From:MIME-Version: Content-Type:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=1nNaATXFQOR7KrQg7j44K3IFsAh26/yQDmqCXHc9kg4=; b=U6DQSrglkF9j+eBqDQX3Cc26Nh WTCHv9vkN4wDG2ask2JC4xSCq6WB+LUxWgvFEpliu5OEMUPguQjjSy+XkOXiBMsyhvq/3hdYzMpTc X1puMm7XlmnIW7xEPCdwXrZYthfqS3wQoCNqfAatqkg9F1w5stH9wfihfeNv+ta+wgAr9n4FjHQEc ZRpmfvWUQI8mHQtCmttHw23ppAGKA76SLmDjqfuxulJCf7wVqIAi1UqylMJnhGpDl0M2p41qtDjYZ FCrZVQPn0ECsSFyS6zc29VhicwgiL+tGP2vPu07kK3pQrlk27uFg6Qc8WnYSlXZj1VZyklgsZpgV8 AsnEr3hw==; Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDGPL-0005fa-L7 for pgsql-committers@lists.postgresql.org; Wed, 25 Sep 2019 23:09:15 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iDGPL-0001Vg-8P for pgsql-committers@lists.postgresql.org; Wed, 25 Sep 2019 23:09:15 +0000 Content-Type: multipart/mixed; boundary="===============8155885389570212255==" MIME-Version: 1.0 From: Alexander Korotkov To: pgsql-committers@lists.postgresql.org Subject: pgsql: Correctly cast types to Datum and back in compareDatetime() Message-Id: Date: Wed, 25 Sep 2019 23:09:15 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --===============8155885389570212255== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Q29ycmVjdGx5IGNhc3QgdHlwZXMgdG8gRGF0dW0gYW5kIGJhY2sgaW4gY29tcGFyZURhdGV0aW1l KCkKCkRpc2N1c3Npb246IGh0dHBzOi8vcG9zdGdyLmVzL20vQ0FQcEhmZHRlRktXNk1McFhNNG1k OTltNTVZQXVYczBuOV9QMndpVHFfRW1HMDlkb1VBJTQwbWFpbC5nbWFpbC5jb20KCkJyYW5jaAot LS0tLS0KbWFzdGVyCgpEZXRhaWxzCi0tLS0tLS0KaHR0cHM6Ly9naXQucG9zdGdyZXNxbC5vcmcv cGcvY29tbWl0ZGlmZi83ODgxYmIxNGY0YjIzZThkYzg2NzE5MzhjZmIzZjM0MTE3YzEyZDhiCgpN b2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpzcmMvYmFja2VuZC91dGlscy9hZHQvanNvbnBh dGhfZXhlYy5jIHwgMTIgKysrKysrLS0tLS0tCjEgZmlsZSBjaGFuZ2VkLCA2IGluc2VydGlvbnMo KyksIDYgZGVsZXRpb25zKC0pCgo= --===============8155885389570212255==--