File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed
oracle_test/modules/test_ddl_deparse Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 4545#include "utils/rel.h"
4646#include "utils/rls.h"
4747#include "utils/snapmgr.h"
48+ #include "parser/parse_clause.h"
4849
4950typedef struct
5051{
Original file line number Diff line number Diff line change 8080#include "parser/parse_type.h"
8181#include "parser/parse_utilcmd.h"
8282#include "parser/parser.h"
83+ #include "parser/parse_clause.h"
8384#include "partitioning/partbounds.h"
8485#include "partitioning/partdesc.h"
8586#include "pgstat.h"
@@ -6736,6 +6737,11 @@ alter_table_type_to_string(AlterTableType cmdtype)
67366737 return "ALTER COLUMN ... DROP INVISIBLE";
67376738 case AT_SetInvisible:
67386739 return "ALTER COLUMN ... SET INVISIBLE";
6740+ case AT_AddRowids:
6741+ case AT_AddRowidsRecurse:
6742+ return "ALTER TABLE ... SET WITH ROWID";
6743+ case AT_DropRowids:
6744+ return "ALTER TABLE ... SET WITHOUT ROWID";
67396745 }
67406746
67416747 return NULL;
Original file line number Diff line number Diff line change @@ -328,6 +328,13 @@ get_altertable_subcmdinfo(PG_FUNCTION_ARGS)
328328 case AT_SetInvisible :
329329 strtype = "SET INVISIBLE" ;
330330 break ;
331+ case AT_AddRowids :
332+ case AT_AddRowidsRecurse :
333+ strtype = "ALTER COLUMN SET WITH RWOID" ;
334+ break ;
335+ case AT_DropRowids :
336+ strtype = "ALTER COLUMN SET WITHOUT RWOID" ;
337+ break ;
331338 }
332339
333340 if (subcmd -> recurse )
You can’t perform that action at this time.
0 commit comments