Jeremy Drake <[EMAIL PROTECTED]> writes:
> CREATE TABLE test_domain (
> fkey integer not null,
> k integer not null,
> x1 integer not null,
> x2 integer,
> mp m_or_p not null
> );
> CREATE INDEX test_domain_k_x1_x2_m ON test_domain (k, x1, x2) WHERE mp = 'm';
> CREATE INDEX test_domain_k_x1_x2_p ON test_domain (k, x1, x2) WHERE mp = 'p';
Perhaps you need a non-partial index.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly