Failover fails with PostgreSQL 9.3

Bug #1744279 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PostgreSQL Charm
Fix Released
High
Unassigned

Bug Description

Failover does not work with PostreSQL 9.3, as we are calling function that did not exist until a later version. It looks like we renamed the xlog to wal function names without adding a backwards compatible code path.

unit-postgresql-4: 12:50:32 DEBUG unit.postgresql/4.replication-relation-changed psycopg2.ProgrammingError: function pg_last_wal_replay_location() does not exist
unit-postgresql-4: 12:50:32 DEBUG unit.postgresql/4.replication-relation-changed LINE 2: pg_last_wal_replay_locatio...

Stuart Bishop (stub)
Changed in postgresql-charm:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Stuart Bishop (stub) wrote :

This was a typo introduced with PG10 support.

Stuart Bishop (stub)
Changed in postgresql-charm:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.