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 1jeY5C-0001TH-7k for pgsql-general@arkaria.postgresql.org; Fri, 29 May 2020 06:01:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jeY5A-0007F7-Tq for pgsql-general@arkaria.postgresql.org; Fri, 29 May 2020 06:01:28 +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 1jeY5A-0007F0-IK for pgsql-general@lists.postgresql.org; Fri, 29 May 2020 06:01:28 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jeY57-0002hp-TZ for pgsql-general@lists.postgresql.org; Fri, 29 May 2020 06:01:28 +0000 Received: by mail-wr1-x434.google.com with SMTP id j10so1982966wrw.8 for ; Thu, 28 May 2020 23:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=+1G4P4d9/an3CLUbYZjf6L+Yet/A06ysDmfRX/TPWe0=; b=WHrl4CjP2z7MBTJF+iuPJqAktHUla5hWJ3VOm8Q1leaRWPN7f5LX+JNXikDxn5WQmd QkgH8ZQCiJ/kKbuSdyThcDkNdOTj90pDqUSYniFlsH4zvB0o5/X6+/p+89oCYr5eVYN8 10Z9aU48JLzw1OY1zdc/uicidUbBZ/zudscwXxMoy9S2jXma7rLCIIy8P8SQZvFWm3Na znYOSm1lUejmsNpPrEsYj890pgHWC91cUSNotvtFPixJ7Y81dPEaRj6Kwd2w/mC6NfBx IfFDpc4rk4idMDXq9Jy7LRtatufYOTQQ9lote3qYg21zpSJYLKzXsGnA3mA7uuelBOSM /RhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=+1G4P4d9/an3CLUbYZjf6L+Yet/A06ysDmfRX/TPWe0=; b=pQu3s2p+JwcDopqD+SplPyNdd5GZwfwPqzUCJjtEt+9LwP4s9MmWxalabCJ9kUIAc4 mtfZeXWurRPP6ocui5YNWHIOySFFPz8pm+6p4KY7QbiL1vpBSv1OvCQu7voPKu+4EhEU MYnlkQ0OaaNL5EIoti4kVUZ5pTC7Y2J3VjW7I3XVEnj2pWTYZBvGUIzEj5eEdC+P/ulL GPduLM23MxBUxqSVPERbvGiR2VWqoJ176b4M9vKL57f12X67XdLMuscFhtx2JvHuocTU R+YYv5eRTKvS9Z2Nyb0KWUiMY7/x/x0j8qo+syc3w208izL2s2op57mfR8v0qYJCKnZb VB9w== X-Gm-Message-State: AOAM5317NMjP/BKPcCiGfLyCYscYX1ua+0eDp8wn3bKlsUPS7elOPeDW ScB9mfDJKbdLELPD214Quw92sw== X-Google-Smtp-Source: ABdhPJyZO0VpzXDwAINxzOpjOyoOBZzCae2m4PtrgoIllqD3Adeenz7DOQMVN40hCLUJLNz5lK7Imw== X-Received: by 2002:adf:b34e:: with SMTP id k14mr7068408wrd.109.1590732084792; Thu, 28 May 2020 23:01:24 -0700 (PDT) Received: from localhost.localdomain (217-149-175-52.nat.highway.telekom.at. [217.149.175.52]) by smtp.gmail.com with ESMTPSA id t129sm4675015wmf.41.2020.05.28.23.01.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2020 23:01:24 -0700 (PDT) Message-ID: Subject: Re: psql12.3 + jdbc_fdw - return wrong query results by using OR From: Laurenz Albe To: emi.lu@concordia.ca, pgsql-general@lists.postgresql.org Date: Fri, 29 May 2020 08:01:23 +0200 In-Reply-To: <20200528113956.767qptz1cg44cw0g@webmail.encs.concordia.ca> References: <20200528113956.767qptz1cg44cw0g@webmail.encs.concordia.ca> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, 2020-05-28 at 11:39 -0400, emilu@encs.concordia.ca wrote: > psql12.3 + jdbc_fdw(oracle18.x), tried: [got bad query results] How about giving oracle_fdw a try? Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com