public inbox for [email protected]
help / color / mirror / Atom feedRe: Foreign Data Wrapper behavior?
2+ messages / 2 participants
[nested] [flat]
* Re: Foreign Data Wrapper behavior?
@ 2024-10-11 15:59 Adrian Klaver <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Klaver @ 2024-10-11 15:59 UTC (permalink / raw)
To: Koen De Groote <[email protected]>; PostgreSQL General <[email protected]>
On 10/11/24 04:08, Koen De Groote wrote:
> In the release notes for postgres 17 I'm reading:
>
> > The PostgreSQL foreign data wrapper (postgres_fdw), used to execute
> queries on remote PostgreSQL instances, can now push EXISTS and IN
> subqueries to the remote server for more efficient processing.
>
> I'm confused as to what this means. In older versions, are parts of
> queries not sent to the foreign server? Or is this change meant to imply
> the sending of only the subqueries, the result of which is then directly
> used in pushing the entire query?
>
> Or am I still wrong as to what this means?
>
> I looked at the documentation and there doesn't seem to be any
> indication of particular queries not being pushed to the foreign server,
> so this wording that "can now push EXISTS and IN subqueries to the
> remote server" is confusing.
>
> What am I missing?
Read:
https://www.postgresql.org/docs/current/postgres-fdw.html#POSTGRES-FDW-REMOTE-QUERY-OPTIMIZATION
F.36.5. Remote Query Optimization
As to the change in the Release Note see the --hackers discussion:
https://www.postgresql.org/message-id/c9e2a757cf3ac2333714eaf83a9cc184%40postgrespro.ru
>
> Regards,
> Koen De Groote
--
Adrian Klaver
[email protected]
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Foreign Data Wrapper behavior?
@ 2024-10-12 18:32 Koen De Groote <[email protected]>
parent: Adrian Klaver <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Koen De Groote @ 2024-10-12 18:32 UTC (permalink / raw)
To: Adrian Klaver <[email protected]>; +Cc: PostgreSQL General <[email protected]>
Ah, thanks for that
On Fri, Oct 11, 2024 at 5:59 PM Adrian Klaver <[email protected]>
wrote:
> On 10/11/24 04:08, Koen De Groote wrote:
> > In the release notes for postgres 17 I'm reading:
> >
> > > The PostgreSQL foreign data wrapper (postgres_fdw), used to execute
> > queries on remote PostgreSQL instances, can now push EXISTS and IN
> > subqueries to the remote server for more efficient processing.
> >
> > I'm confused as to what this means. In older versions, are parts of
> > queries not sent to the foreign server? Or is this change meant to imply
> > the sending of only the subqueries, the result of which is then directly
> > used in pushing the entire query?
> >
> > Or am I still wrong as to what this means?
> >
> > I looked at the documentation and there doesn't seem to be any
> > indication of particular queries not being pushed to the foreign server,
> > so this wording that "can now push EXISTS and IN subqueries to the
> > remote server" is confusing.
> >
> > What am I missing?
>
> Read:
>
>
> https://www.postgresql.org/docs/current/postgres-fdw.html#POSTGRES-FDW-REMOTE-QUERY-OPTIMIZATION
>
> F.36.5. Remote Query Optimization
>
>
> As to the change in the Release Note see the --hackers discussion:
>
>
> https://www.postgresql.org/message-id/c9e2a757cf3ac2333714eaf83a9cc184%40postgrespro.ru
>
> >
> > Regards,
> > Koen De Groote
>
> --
> Adrian Klaver
> [email protected]
>
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-10-12 18:32 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-10-11 15:59 Re: Foreign Data Wrapper behavior? Adrian Klaver <[email protected]>
2024-10-12 18:32 ` Koen De Groote <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox