Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit940f772

Browse files
committed
Support temporary setting of search path during CREATE SCHEMA; this
allows the example in the CREATE SCHEMA ref page to actually work now.Also, clean up when the transaction that initially creates a temp-tablenamespace is later aborted. Simplify internal representation of searchpath by folding special cases into the main list.
1 parent5f21560 commit940f772

File tree

5 files changed

+241
-157
lines changed

5 files changed

+241
-157
lines changed

‎src/backend/access/transam/xact.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.121 2002/05/1701:19:16 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.122 2002/05/1720:53:33 tgl Exp $
1212
*
1313
* NOTES
1414
*Transaction aborts can now occur two ways:
@@ -164,6 +164,7 @@
164164
#include"access/xact.h"
165165
#include"catalog/heap.h"
166166
#include"catalog/index.h"
167+
#include"catalog/namespace.h"
167168
#include"commands/async.h"
168169
#include"commands/sequence.h"
169170
#include"commands/trigger.h"
@@ -1009,6 +1010,7 @@ CommitTransaction(void)
10091010
AtEOXact_hash();
10101011
AtEOXact_nbtree();
10111012
AtEOXact_rtree();
1013+
AtEOXact_Namespace(true);
10121014
AtCommit_Cache();
10131015
AtCommit_Locks();
10141016
AtEOXact_CatCache(true);
@@ -1112,6 +1114,7 @@ AbortTransaction(void)
11121114
AtEOXact_hash();
11131115
AtEOXact_nbtree();
11141116
AtEOXact_rtree();
1117+
AtEOXact_Namespace(false);
11151118
AtAbort_Cache();
11161119
AtEOXact_CatCache(false);
11171120
AtAbort_Memory();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp