mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
Avoid index rebuild for no-rewrite ALTER TABLE .. ALTER TYPE.
Noah Misch. Review and minor cosmetic changes by me.
This commit is contained in:
@ -217,6 +217,7 @@ Boot_CreateStmt:
|
||||
PG_CATALOG_NAMESPACE,
|
||||
shared_relation ? GLOBALTABLESPACE_OID : 0,
|
||||
$3,
|
||||
InvalidOid,
|
||||
tupdesc,
|
||||
RELKIND_RELATION,
|
||||
RELPERSISTENCE_PERMANENT,
|
||||
@ -284,6 +285,7 @@ Boot_DeclareIndexStmt:
|
||||
DefineIndex(makeRangeVar(NULL, $6, -1),
|
||||
$3,
|
||||
$4,
|
||||
InvalidOid,
|
||||
$8,
|
||||
NULL,
|
||||
$10,
|
||||
@ -302,6 +304,7 @@ Boot_DeclareUniqueIndexStmt:
|
||||
DefineIndex(makeRangeVar(NULL, $7, -1),
|
||||
$4,
|
||||
$5,
|
||||
InvalidOid,
|
||||
$9,
|
||||
NULL,
|
||||
$11,
|
||||
|
Reference in New Issue
Block a user