mirror of
https://github.com/postgres/postgres.git
synced 2025-07-24 14:22:24 +03:00
Add abortcurrent trans to temp table fix.
This commit is contained in:
3
src/backend/utils/cache/temprel.c
vendored
3
src/backend/utils/cache/temprel.c
vendored
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.5 1999/07/02 18:09:28 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.6 1999/07/03 15:43:57 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -80,6 +80,7 @@ remove_all_temp_relations(void)
|
||||
List *l,
|
||||
*next;
|
||||
|
||||
AbortOutOfAnyTransaction();
|
||||
StartTransactionCommand();
|
||||
|
||||
l = temp_rels;
|
||||
|
Reference in New Issue
Block a user