aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath_exec.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-12-27 17:59:12 +0900
committerMichael Paquier <michael@paquier.xyz>2019-12-27 17:59:12 +0900
commit1dd88201ad6e7eea9c9fff9077f3577dbe7458cd (patch)
treedd5ceb7b19aa2bebef5033c8eb647acc46e79a7d /src/backend/utils/adt/jsonpath_exec.c
parent883c27a1cf9b80d9a1cf13f527ad21024fa1849d (diff)
downloadpostgresql-1dd88201ad6e7eea9c9fff9077f3577dbe7458cd.tar.gz
postgresql-1dd88201ad6e7eea9c9fff9077f3577dbe7458cd.zip
Forbid DROP SCHEMA on temporary namespaces
This operation was possible for the owner of the schema or a superuser. Down to 9.4, doing this operation would cause inconsistencies in a session whose temporary schema was dropped, particularly if trying to create new temporary objects after the drop. A more annoying consequence is a crash of autovacuum on an assertion failure when logging information about an orphaned temp table dropped. Note that because of 246a6c8 (present in v11~), which has made the removal of orphaned temporary tables more aggressive, the failure could be triggered more easily, but it is possible to reproduce down to 9.4. Reported-by: Mahendra Singh, Prabhat Sahu Author: Michael Paquier Reviewed-by: Kyotaro Horiguchi, Mahendra Singh Discussion: https://postgr.es/m/CAKYtNAr9Zq=1-ww4etHo-VCC-k120YxZy5OS01VkaLPaDbv2tg@mail.gmail.com Backpatch-through: 9.4
Diffstat (limited to 'src/backend/utils/adt/jsonpath_exec.c')
0 files changed, 0 insertions, 0 deletions