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

From: Andy Fan <zhihuifan1213(at)163(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Jacob Champion <jchampion(at)timescale(dot)com>, "Drouvot, Bertrand" <bdrouvot(at)amazon(dot)com>, Joe Conway <mail(at)joeconway(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "sfrost(at)snowman(dot)net" <sfrost(at)snowman(dot)net>, "rjuju123(at)gmail(dot)com" <rjuju123(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, "andres(at)anarazel(dot)de" <andres(at)anarazel(dot)de>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Expose port->authn_id to extensions and triggers
Date: 2024-02-15 08:53:30
Message-ID: 875xyqhzs6.fsf@163.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hi,

Michael Paquier <michael(at)paquier(dot)xyz> writes:

> [[PGP Signed Part:Undecided]]
> On Tue, Aug 23, 2022 at 10:04:30AM -0700, Jacob Champion wrote:
>
> My main worry here is EXEC_BACKEND, where we would just use our own
> implementation of fork(), and it is a bad idea at the end to leave
> that untouched while we could have code paths that attempt to access
> it. At the end, I have moved the initialization at the same place as
> where we set MyProcPort for a backend in BackendInitialize(), mainly
> as a matter of consistency because ClientConnectionInfo is aimed at
> being a subset of that. And applied.

I found a compiler complaint of this patch. The attached fix that.

--
Best Regards
Andy Fan

Attachment Content-Type Size
v1-0001-Remove-the-parameter-maxsize-set-but-not-used-err.patch text/x-diff 990 bytes

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2024-02-15 09:09:20 Re: Make COPY format extendable: Extract COPY TO format implementations
Previous Message Andy Fan 2024-02-15 08:38:03 Re: make add_paths_to_append_rel aware of startup cost