Re: [HACKERS] PG9.2 and FDW query planning.

2012-07-12 Thread Ronan Dunklau
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/07/2012 18:30, Tom Lane wrote: > Ronan Dunklau writes: >> Let's say I have an IMAP foreign data wrapper, and I write a >> query joining the table on itself using the In-Reply-To and >> Message-ID headers, is there anything I can do to avoid fetc

Re: [HACKERS] PG9.2 and FDW query planning.

2012-07-05 Thread Tom Lane
Ronan Dunklau writes: > Let's say I have an IMAP foreign data wrapper, and I write a query > joining the table on itself using the In-Reply-To and Message-ID > headers, is there anything I can do to avoid fetching all the mails > from the remote server ? > If I could somehow inform the planner th