Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5DeL-0005yp-U1 for pgsql-committers@arkaria.postgresql.org; Sun, 08 Apr 2018 16:58:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f5DeI-0005Tx-Rj for pgsql-committers@arkaria.postgresql.org; Sun, 08 Apr 2018 16:58:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5DeI-0005To-Mb for pgsql-committers@lists.postgresql.org; Sun, 08 Apr 2018 16:58:38 +0000 Received: from mahout.postgresql.org ([2001:4800:1501:1::227]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5DeE-0000yZ-T5 for pgsql-committers@lists.postgresql.org; Sun, 08 Apr 2018 16:58:37 +0000 Received: from gemulon.postgresql.org ([2001:4800:1501:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f5DeC-0002lI-8j for pgsql-committers@lists.postgresql.org; Sun, 08 Apr 2018 16:58:33 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.89) (envelope-from ) id 1f5DeB-0004JG-Gd for pgsql-committers@lists.postgresql.org; Sun, 08 Apr 2018 16:58:31 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@lists.postgresql.org From: Teodor Sigaev Subject: pgsql: match_clause_to_index should check only key columns Message-Id: Date: Sun, 08 Apr 2018 16:58:31 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk bWF0Y2hfY2xhdXNlX3RvX2luZGV4IHNob3VsZCBjaGVjayBvbmx5IGtleSBjb2x1bW5zCgpBbGV4 YW5kZXIgS29yb3Rrb3YgcGVyIGdyaXBlIGZyb20gVG9tIExhbmUgbm90aWNlZCBvbiB2YWxncmlu ZC1lbmFibGVkCmJ1aWxkZmFybSBtZW1iZXJzCgpCcmFuY2gKLS0tLS0tCm1hc3RlcgoKRGV0YWls cwotLS0tLS0tCmh0dHBzOi8vZ2l0LnBvc3RncmVzcWwub3JnL3BnL2NvbW1pdGRpZmYvMDJmM2U1 NThmMjFjMGZiZWM5Zjk0ZDVkZTlhZDM0ZjMyMWViMGU1NwoKTW9kaWZpZWQgRmlsZXMKLS0tLS0t LS0tLS0tLS0Kc3JjL2JhY2tlbmQvb3B0aW1pemVyL3BhdGgvaW5keHBhdGguYyB8IDQgKystLQox IGZpbGUgY2hhbmdlZCwgMiBpbnNlcnRpb25zKCspLCAyIGRlbGV0aW9ucygtKQoK