Skip to content

WAL control functions cannot be executed during recovery #52

@erkki

Description

@erkki

Hot standby servers cannot run WAL control functions so these should probably be skipped

2017-02-18 04:26:12 UTC ERROR: recovery is in progress
2017-02-18 04:26:12 UTC HINT: WAL control functions cannot be executed during recovery.
2017-02-18 04:26:12 UTC STATEMENT:
SELECT *,
pg_current_xlog_location(),
pg_xlog_location_diff(pg_current_xlog_location(), replay_location)::float
FROM pg_stat_replication

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