Re: [PATCH] Expose port->authn_id to extensions and triggers

Поиск
Список
Период
Сортировка
Искать
От
Jacob Champion
Тема
Re: [PATCH] Expose port->authn_id to extensions and triggers
Дата
Msg-id
94c53220cb1e8a7a9c411fd14bfc64ff3b65d68d.camel@vmware.com
Ответ на
Список
Дерево обсуждения
[PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Julien Rouhaud <rjuju123@gmail.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Julien Rouhaud <rjuju123@gmail.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Andres Freund <andres@anarazel.de>
Re: [PATCH] Expose port->authn_id to extensions and triggers Julien Rouhaud <rjuju123@gmail.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Andres Freund <andres@anarazel.de>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Andres Freund <andres@anarazel.de>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Stephen Frost <sfrost@snowman.net>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Stephen Frost <sfrost@snowman.net>
Re: [PATCH] Expose port->authn_id to extensions and triggers Andres Freund <andres@anarazel.de>
Re: [PATCH] Expose port->authn_id to extensions and triggers Robert Haas <robertmhaas@gmail.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Andres Freund <andres@anarazel.de>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Andres Freund <andres@anarazel.de>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Andres Freund <andres@anarazel.de>
Re: [PATCH] Expose port->authn_id to extensions and triggers Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Expose port->authn_id to extensions and triggers Andres Freund <andres@anarazel.de>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Andres Freund <andres@anarazel.de>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <jchampion@timescale.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Robert Haas <robertmhaas@gmail.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <jchampion@timescale.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Expose port->authn_id to extensions and triggers Robert Haas <robertmhaas@gmail.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <jchampion@timescale.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Robert Haas <robertmhaas@gmail.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <jchampion@timescale.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Robert Haas <robertmhaas@gmail.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <jchampion@timescale.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <jchampion@timescale.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Joe Conway <mail@joeconway.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <jchampion@timescale.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <jchampion@timescale.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <jchampion@timescale.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <jchampion@timescale.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <jchampion@timescale.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers "Drouvot, Bertrand" <bdrouvot@amazon.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <jchampion@timescale.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Andy Fan <zhihuifan1213@163.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <jchampion@timescale.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Michael Paquier <michael@paquier.xyz>
Re: [PATCH] Expose port->authn_id to extensions and triggers Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: [PATCH] Expose port->authn_id to extensions and triggers Jacob Champion <pchampion@vmware.com>
On Wed, 2022-03-23 at 16:54 -0700, Andres Freund wrote:
> On 2022-03-23 23:06:14 +0000, Jacob Champion wrote:
> > On Wed, 2022-03-23 at 19:00 -0400, Tom Lane wrote:
> > > Hm.  I was more envisioning getting the "sharable" info out of Port
> > > entirely, although I'm not quite sure where it should go instead.
> > 
> > If it helps, I can move the substruct out and up to a new global struct
> > (MyProcShared?). At this point I think it's mostly search-and-replace.
> 
> Perhaps alongside CurrentUserId etc in miscinit.c?  It would be nicer if all
> those were together in a struct, but oh well.

Next draft in v7. My naming choices probably make even less sense now. Any ideas for names for "a bag of stuff that we want parallel workers to have too"?

> Another option would be to make it a GUC. With a bit of care it could be
> automatically synced by the existing parallelism infrastructure...

Like a write-once, PGC_INTERNAL setting? I guess I don't have any
intuition on how that would compare to the separate-global-and-accessor 
approach. Is the primary advantage that you don't have to maintain the
serialization logic, or is there more to it?

Thanks,
--Jacob
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Zheng Li
Дата:
FAQ