From: | Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp> |
---|---|
To: | Rajkumar Raghuwanshi <rajkumar(dot)raghuwanshi(at)enterprisedb(dot)com> |
Cc: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>, Jesper Pedersen <jesper(dot)pedersen(at)redhat(dot)com>, Amit Langote <amitlangote09(at)gmail(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Beena Emerson <memissemerson(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] path toward faster partition pruning |
Date: | 2018-02-20 08:21:22 |
Message-ID: | 751ee7af-28fb-4d64-dcd0-90a5fb00ff79@lab.ntt.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Thanks Rajkumar for the test.
On 2018/02/20 16:56, Rajkumar Raghuwanshi wrote:
> I have applied v29 patch-set on head and got "ERROR: operator 1209 is not
> a member of opfamily 1994" with below test case. Please take a look.
>
> CREATE TABLE part (c1 INT4, c2 TEXT, c3 INT4) PARTITION BY LIST (c2);
> CREATE TABLE part_p1 PARTITION OF part FOR VALUES IN('ABC');
> CREATE TABLE part_p2 PARTITION OF part FOR VALUES IN('DEF');
> CREATE TABLE part_p3 PARTITION OF part FOR VALUES IN('GHI');
> CREATE TABLE part_p4 PARTITION OF part FOR VALUES IN('JKL');
>
> INSERT INTO part VALUES (100,'ABC',10);
> INSERT INTO part VALUES (110,'DEF',20);
> INSERT INTO part VALUES (120,'GHI',10);
> INSERT INTO part VALUES (130,'JKL',100);
>
> explain (costs off) SELECT * FROM part WHERE c2 LIKE '%ABC%';
> *ERROR: operator 1209 is not a member of opfamily 1994*
An oversight in the v28 patch seems to have caused this. Fixed in the
attached.
Thanks,
Amit
Attachment | Content-Type | Size |
---|---|---|
v30-0001-Modify-bound-comparision-functions-to-accept-mem.patch | text/plain | 6.5 KB |
v30-0002-Refactor-partition-bound-search-functions.patch | text/plain | 8.2 KB |
v30-0003-Add-parttypid-partcollation-partsupfunc-to-Parti.patch | text/plain | 5.2 KB |
v30-0004-Faster-partition-pruning.patch | text/plain | 111.2 KB |
v30-0005-Add-only-unpruned-partitioned-child-rels-to-part.patch | text/plain | 23.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Ashutosh Bapat | 2018-02-20 09:13:02 | Re: Expression errors with "FOR UPDATE" and postgres_fdw with partition wise join enabled. |
Previous Message | Masahiko Sawada | 2018-02-20 08:04:13 | Re: [HACKERS] [PATCH] Vacuum: Update FSM more frequently |