diff options
author | Michael Paquier | 2019-01-26 01:45:23 +0000 |
---|---|---|
committer | Michael Paquier | 2019-01-26 01:45:23 +0000 |
commit | c9b75c5838feeae73dbae00bce9d8f650b80ba38 (patch) | |
tree | 5e3b8ba1a207d1a602b2485b453890a8174e4dad /src/test/modules | |
parent | df4c9044406f1e907268930dd12ba6c3642d21dd (diff) |
Simplify restriction handling of two-phase commit for temporary objects
There were two flags used to track the access to temporary tables and
to the temporary namespace of a session which are used to restrict
PREPARE TRANSACTION, however the first control flag is a concept
included in the second. This removes the flag for temporary table
tracking, keeping around only the one at namespace level.
Author: Michael Paquier
Reviewed-by: Álvaro Herrera
Discussion: https://postgr.es/m/20190118053126.GH1883@paquier.xyz
Diffstat (limited to 'src/test/modules')
-rw-r--r-- | src/test/modules/test_extensions/expected/test_extensions.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/modules/test_extensions/expected/test_extensions.out b/src/test/modules/test_extensions/expected/test_extensions.out index 1eec5a37d33..b5cbdfcad4f 100644 --- a/src/test/modules/test_extensions/expected/test_extensions.out +++ b/src/test/modules/test_extensions/expected/test_extensions.out @@ -148,7 +148,7 @@ SELECT create_extension_with_temp_schema(); (1 row) PREPARE TRANSACTION 'twophase_extension'; -ERROR: cannot PREPARE a transaction that has operated on temporary namespace +ERROR: cannot PREPARE a transaction that has operated on temporary objects -- Clean up DROP TABLE test_ext4_tab; DROP FUNCTION create_extension_with_temp_schema(); |