Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sj0hX-00Cg8g-8w for pgsql-general@arkaria.postgresql.org; Tue, 27 Aug 2024 18:13:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sj0hV-00Ao3c-An for pgsql-general@arkaria.postgresql.org; Tue, 27 Aug 2024 18:13:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with utf8esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sj0hV-00Ao3T-0U for pgsql-general@lists.postgresql.org; Tue, 27 Aug 2024 18:13:53 +0000 Received: from facteur.thefreecat.org ([212.129.38.6]) by magus.postgresql.org with utf8esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sj0hO-001nNl-FZ for pgsql-general@lists.postgresql.org; Tue, 27 Aug 2024 18:13:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thefreecat.org; s=thefreecat; t=1724782427; bh=sO4fQYSH+l8vn61iL3Ed9s4Kw2kHN0oNMUV6Rp4XKCU=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=AkjNU2ZshiVs1ZszDr8IsbgIRrVNv3Av3cgngCRCCXEUdwGBbbCE6nkwkkf9x0899 5Fn4SlHnal7ZdmX9YA2trgkD+tQCFRuAac4BJhOYriu5eV28s2swxky5SALvcKv4oB lY4vzUj76cwxVqHI4cUPpEHipCfzJv4ihsVJxftrSrlGEY29OWAlv3O4ycdXi Original-Subject: Re: Strange behaviors with ranges Original-From: Jean-Christophe BOGGIO Original-Cc: pgsql-general@lists.postgresql.org Received: from [192.168.1.182] (91-167-190-143.subs.proxad.net [::ffff:91.167.190.143]) (AUTH: LOGIN cat, TLS: TLS1.3,128bits,ECDHE_RSA_AES_128_GCM_SHA256) by facteur.thefreecat.org with ESMTPSA id 0000000009DC06F9.0000000066CE175B.00012D07; Tue, 27 Aug 2024 20:13:47 +0200 Content-Type: multipart/alternative; boundary="------------OX9ejw0290R5gFCypmrBc0R9" Message-ID: <4da6abeb-6c35-4eaf-8d77-420ed467651e@thefreecat.org> Date: Tue, 27 Aug 2024 20:13:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Strange behaviors with ranges To: =?UTF-8?Q?Torsten_F=C3=B6rtsch?= , Adrian Klaver Cc: pgsql-general@lists.postgresql.org References: <77691006-45f1-4ef9-bc1b-2eecd44f7d0d@thefreecat.org> <572cc9d2-a981-4f0e-802a-69515dac1722@aklaver.com> Content-Language: en-US, fr From: Jean-Christophe BOGGIO In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------OX9ejw0290R5gFCypmrBc0R9 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Le 27/08/2024 à 19:51, Torsten Förtsch a écrit : > I guess this query comes back non-empty: > > SELECT * FROM paliers JOIN tmp_limitcontrats USING(idcontrat) WHERE > qtep1 >= qtep2 Yes, it is empty if I keep tmp_limitcontrats to idcontrat=1003 Otherwise, you are right, there are irregular data but not that I'm concerned with in that particular case. --------------OX9ejw0290R5gFCypmrBc0R9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Le 27/08/2024 à 19:51, Torsten Förtsch a écrit :
I guess this query comes back non-empty:

SELECT * FROM paliers JOIN tmp_limitcontrats USING(idcontrat) WHERE qtep1 >= qtep2

Yes, it is empty if I keep tmp_limitcontrats to idcontrat=1003

Otherwise, you are right, there are irregular data but not that I'm concerned with in that particular case.


--------------OX9ejw0290R5gFCypmrBc0R9--