RE: BUG #17789: process_pgfdw_appname() fails for autovacuum workers

Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>

From: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
To: 'Michael Paquier' <michael@paquier.xyz>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: "sawada.mshk@gmail.com" <sawada.mshk@gmail.com>, "exclusion@gmail.com" <exclusion@gmail.com>, "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2023-02-21T01:05:47Z
Lists: pgsql-bugs
Dear Michael, Horiguchi-san,

Sorry for being late.

Our first assumption was broken, so I think we should consider like that
we have missed further thing. 

We should chose safer one, I +1 the Michael's idea.

Best Regards,
Hayato Kuroda
FUJITSU LIMITED




Commits

  1. Fix handling of escape sequences in postgres_fdw.application_name

  2. postgres_fdw: Allow postgres_fdw.application_name to include escape sequences.