Skip to content

Commit efb6212

Browse files
committed
Add abortcurrent trans to temp table fix.
1 parent ff8756d commit efb6212

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/utils/cache/temprel.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.5 1999/07/02 18:09:28 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.6 1999/07/03 15:43:57 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -80,6 +80,7 @@ remove_all_temp_relations(void)
8080
List *l,
8181
*next;
8282

83+
AbortOutOfAnyTransaction();
8384
StartTransactionCommand();
8485

8586
l = temp_rels;

0 commit comments

Comments
 (0)