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

Commitf0051c1

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 parent5088103 commitf0051c1

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
@@ -507,10 +507,6 @@ standard_ProcessUtility(Node *parsetree,
507507
AlterTableSpaceOptions((AlterTableSpaceOptionsStmt*)parsetree);
508508
break;
509509

510-
caseT_AlterTableMoveAllStmt:
511-
AlterTableMoveAll((AlterTableMoveAllStmt*)parsetree);
512-
break;
513-
514510
caseT_TruncateStmt:
515511
ExecuteTruncate((TruncateStmt*)parsetree);
516512
break;
@@ -1296,6 +1292,10 @@ ProcessUtilitySlow(Node *parsetree,
12961292
AlterTSConfiguration((AlterTSConfigurationStmt*)parsetree);
12971293
break;
12981294

1295+
caseT_AlterTableMoveAllStmt:
1296+
AlterTableMoveAll((AlterTableMoveAllStmt*)parsetree);
1297+
break;
1298+
12991299
caseT_DropStmt:
13001300
ExecDropStmt((DropStmt*)parsetree,isTopLevel);
13011301
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp