Skip to content

Provide ability to see current state of backup-lock attribute via context variable #8877

@pavel-zotov

Description

@pavel-zotov

It will be good to see current backup-lock state using context variable rather tnan query mon$database (which, in turn, requires commit/rollback before such query if we want to see actual value).
Such variable (e.g. rdb$get_context('SYSTEM', 'BACKUP_LOCK') ) must show the same as mon$database.mon$backup_state: 0, 1 or 2 - but obtaining its value should not require COMMIT / ROLLBACK prior it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions