[GENERAL] Partitioning - Mailing list pgsql-general

From Krithika Venkatesh
Subject [GENERAL] Partitioning
Date
Msg-id CAP7eca00=EkhYMEDJnwNFxj8aSKJP39Xd8mNeLcV5mOeDow=bA@mail.gmail.com
Whole thread Raw
Responses Re: [GENERAL] Partitioning (constraint exclusion involving joins)  (Justin Pryzby <pryzby@telsasoft.com>)
List pgsql-general
Hi,

I have a table that is partitioned on a numeric column (ID).

Partitioning works when I query the table with no joins. 

SELECT * FROM TABLE A a WHERE ID IN (SELECT ID FROM TABLE B b WHERE CREATED_TS = CURRENT_TIMESTAMP)

Partitioning doesn't work when I do join.

SELECT A.* FROM TABLE A a INNER JOIN TABLE B b ON  a.ID = b.ID.

Is there any other option that would work.

Thanks in Advance..


pgsql-general by date:

Previous
From: Scott Mead
Date:
Subject: Re: [GENERAL] How to get transaction started always in WRITE mode.
Next
From: Justin Pryzby
Date:
Subject: Re: [GENERAL] Partitioning (constraint exclusion involving joins)