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

Commit106e4b2

Browse files
committed
Move ALTER ... ALL IN to ProcessUtilitySlow
Now that ALTER TABLE .. ALL IN TABLESPACE has replaced the previousALTER TABLESPACE approach, it makes sense to move the calls down into ProcessUtilitySlow where the rest of ALTER TABLE is handled.This also means that event triggers will support ALTER TABLE .. ALL(which was the impetus for the original change, though it has othergood qualities also).Álvaro HerreraBack-patch to 9.4 as the original rework was.
1 parentfd66ccf commit106e4b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/tcop/utility.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -506,10 +506,6 @@ standard_ProcessUtility(Node *parsetree,
506506
AlterTableSpaceOptions((AlterTableSpaceOptionsStmt*)parsetree);
507507
break;
508508

509-
caseT_AlterTableMoveAllStmt:
510-
AlterTableMoveAll((AlterTableMoveAllStmt*)parsetree);
511-
break;
512-
513509
caseT_TruncateStmt:
514510
ExecuteTruncate((TruncateStmt*)parsetree);
515511
break;
@@ -1291,6 +1287,10 @@ ProcessUtilitySlow(Node *parsetree,
12911287
AlterTSConfiguration((AlterTSConfigurationStmt*)parsetree);
12921288
break;
12931289

1290+
caseT_AlterTableMoveAllStmt:
1291+
AlterTableMoveAll((AlterTableMoveAllStmt*)parsetree);
1292+
break;
1293+
12941294
caseT_DropStmt:
12951295
ExecDropStmt((DropStmt*)parsetree,isTopLevel);
12961296
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp