INNER CODE UNIT · C
persistent_flags
timescale/pg_textsearch · src/mod.c:965
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;
}
intent->flags = persistent_flags | new_mode_flags;
if ((flags & (TP_MANAGED_INTENT_RECONCILE_OPTIONS |
TP_MANAGED_INTENT_RECONCILE_LINEAGE)) != 0)