Re: [BUG] pg_dump blocked
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gilles Darold <gilles@darold.net>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2022-11-19T17:02:32Z
Lists: pgsql-hackers
Gilles Darold <gilles@darold.net> writes: > Le 17/11/2022 à 17:59, Tom Lane a écrit : >> I didn't want to back-patch e3fcbbd62 at the time, but it's probably aged >> long enough now to be safe to back-patch. If we do anything here, >> it should be to back-patch the whole thing, else we've only partially >> fixed the issue. > Here are the different patched following the PostgreSQL version from 11 > to 14, they should apply on the corresponding stable branches. Reviewed and pushed --- thanks for doing the legwork! Trawling the commit log, I found the follow-on patch 3e6e86abc, which fixed another issue of the same kind. I back-patched that too. regards, tom lane
Commits
-
pg_dump: avoid unsafe function calls in getPolicies().
- b7333e826955 11.19 landed
- a5b26aaafe4f 13.10 landed
- 1ed6f1b9116c 12.14 landed
- 03ac48549438 14.7 landed
-
Postpone calls of unsafe server-side functions in pg_dump.
- e46e986baef0 13.10 landed
- b1f106420b1a 11.19 landed
- 55f30e6c7640 14.7 landed
- 344b7849200f 12.14 landed
- e3fcbbd623b9 15.0 cited