| From: | Rafia Sabih <rafia(dot)pghackers(at)gmail(dot)com> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
| Cc: | KENAN YILMAZ <kenan(dot)yilmaz(at)localus(dot)com(dot)tr>, Andy Fan <zhihuifan1213(at)163(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Bypassing cursors in postgres_fdw to enable parallel plans |
| Date: | 2026-07-03 12:51:12 |
| Message-ID: | CA+FpmFf2POqOr+t4FQ2Z_fB=4LAHQKXWmiv5+6vM6Xn4OFA1_A@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, 2 Jul 2026 at 19:57, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Mon, Jun 29, 2026 at 5:27 AM Rafia Sabih <rafia(dot)pghackers(at)gmail(dot)com>
> wrote:
> > So, do you suggest we can have a backpointer of conn also in
> active_fsstate...?
>
> I think that fsstate and active_fsstate have to be pointing to the
> same conn_state object. Do you think otherwise?
>
> No, but I don't understand why you think they can be different in the
current implementation.
Currently, as per init_scan fsstate->conn_state->active_scan = fsstate, and
it is never reassigned or anything.
So they cannot have different conn_state.
Am I missing something?
--
> Robert Haas
> EDB: http://www.enterprisedb.com
>
--
Regards,
Rafia Sabih
CYBERTEC PostgreSQL International GmbH
| From | Date | Subject | |
|---|---|---|---|
| Next Message | michal.dtz | 2026-07-03 12:56:12 | Schema-qualify the equality operator when deparsing NULLIF/IS DISTINCT FROM |
| Previous Message | Matheus Alcantara | 2026-07-03 12:50:57 | Re: hashjoins vs. Bloom filters (yet again) |