aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-11-19 12:00:27 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2022-11-19 12:00:27 -0500
commita5b26aaafe4fc4ee96d09103e2692b743850c1a6 (patch)
tree67b7b0a1ee4d6fbb4d239d4bc42b906aa0629d9d /src/tutorial/basics.source
parente46e986baef04b9127a991f8a08d5c057671cb45 (diff)
downloadpostgresql-a5b26aaafe4fc4ee96d09103e2692b743850c1a6.tar.gz
postgresql-a5b26aaafe4fc4ee96d09103e2692b743850c1a6.zip
pg_dump: avoid unsafe function calls in getPolicies().
getPolicies() had the same disease I fixed in other places in commit e3fcbbd62, i.e., it was calling pg_get_expr() for expressions on tables that we don't necessarily have lock on. To fix, restrict the query to only collect interesting rows, rather than doing the filtering on the client side. Back-patch of commit 3e6e86abc. That's been in v15/HEAD long enough to have some confidence about it, so now let's fix the problem in older branches. Discussion: https://postgr.es/m/2273648.1634764485@sss.pgh.pa.us Discussion: https://postgr.es/m/7d7eb6128f40401d81b3b7a898b6b4de@W2012-02.nidsa.loc Discussion: https://postgr.es/m/45c93d57-9973-248e-d2df-e02ca9af48d4@darold.net
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions