INNER CODE UNIT · C
pending_default_refresh
timescale/pg_textsearch · src/mod.c:961
bool pending_default_refresh = (intent->flags &
TP_MANAGED_INTENT_REFRESH_DEFAULT) != 0;
bool pending_option_reconciliation =
(intent->flags & TP_MANAGED_INTENT_RECONCILE_OPTIONS) != 0;
int persistent_flags = (intent->flags | flags) &
TP_MANAGED_INTENT_LINEAGE_SUPPLIED;
int new_mode_flags = flags & mode_flags;
if ((new_mode_flags & action_flags) == 0)
new_mode_flags |= intent->flags & action_flags;
if ((flags & TP_MANAGED_INTENT_PRESERVE_SCHEDULE) != 0 &&
pending_option_reconciliation)
new_mode_flags |= TP_MANAGED_INTENT_RECONCILE_OPTIONS;
if ((flags & TP_MANAGED_INTENT_PRESERVE_SCHEDULE) != 0 &&
pending_default_refresh)
{
new_mode_flags &= ~TP_MANAGED_INTENT_PRESERVE_SCHEDULE;
new_mode_flags |= TP_MANAGED_INTENT_REFRESH_DEFAULT;