Re: Extensible user mapping handler for FDW

2025-04-03 Thread Daniel Gustafsson
> On 2 Apr 2025, at 03:36, Peifeng Qiu wrote: > A major downside is the need to modify catalog table > pg_user_mapping. So we can't apply this change to existing > installation of prior stable versions. A feature like this would never be considered for backpatching anyways so that's not really a

Extensible user mapping handler for FDW

2025-04-02 Thread Peifeng Qiu
Hi hackers, I'm working on a patch that makes FDW user mapping extensible. Main motivation for this is to avoid plain text password or other sensitive secret being stored in catalog table, and let an external source to handle this. In our use case, the foreign tables are created by an admin user a