mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-19 12:13:24 +08:00
Update outdated CAgg error hint
The CAgg error hint regarding adding indexes to non-finalized CAggs was proposing to recreate the whole CAgg. However, pointing to the migration function should be the preferred method. This PR changes the error wording.
This commit is contained in:
parent
e91e591d0d
commit
668e6a2bb9
@ -2626,7 +2626,10 @@ process_index_start(ProcessUtilityArgs *args)
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("operation not supported on continuous aggregates that are not "
|
||||
"finalized"),
|
||||
errhint("Recreate the continuous aggregate to allow index creation.")));
|
||||
errhint("Run \"CALL cagg_migrate('%s.%s');\" to migrate to the new "
|
||||
"format.",
|
||||
NameStr(cagg->data.user_view_schema),
|
||||
NameStr(cagg->data.user_view_name))));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user