Re: [PERFORM] partition text/varchar check problem

2006-12-16 Thread jamcito
Filter: ((name)::text ~~ 'a%'::text) -> Seq Scan on data_b data (cost=0.00..1.02 rows=1 width=23) Filter: ((name)::text ~~ 'a%'::text) (8 rows) Both partition tables are scanned. Best, jamcito -

Re: [PERFORM] partition text/varchar check problem -- solved

2006-12-16 Thread jamcito
ame >= 'b' AND name < 'c') > > etc. (These work for a query like "WHERE name = 'foo'" because > the >= < and = operators are all members of the same btree opclass, > so the planner knows how to reason about them.) > >

[PERFORM] partition text/varchar check problem

2006-12-16 Thread jamcito
;aaa'::text) -> Seq Scan on data_b data (cost=0.00..1.02 rows=1 width=23) Filter: ((name)::text = 'aaa'::text) (8 rows) I have tried with name as text in data table and in CHECK. Where do I have an error? Is it possible to make partitions with s