Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a24ebc3 commit 15dd167Copy full SHA for 15dd167
src/backend/utils/cache/temprel.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.11 1999/09/04 19:55:50 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.12 1999/09/04 21:45:48 tgl Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -79,6 +79,9 @@ remove_all_temp_relations(void)
79
List *l,
80
*next;
81
82
+ if (temp_rels == NIL)
83
+ return;
84
+
85
AbortOutOfAnyTransaction();
86
StartTransactionCommand();
87
@@ -102,6 +105,7 @@ remove_all_temp_relations(void)
102
105
103
106
l = next;
104
107
}
108
+ temp_rels = NIL;
109
CommitTransactionCommand();
110
111
0 commit comments