Menu

#40 error with postgres < 9.0

1.x
closed
None
2015-01-08
2014-04-15
No

with barman 1.3.1 and postgres 8.4, starting a backup:

Starting backup for server test-8.4 in /tmp/barman-tests/test-8.4/base/20140415T104148
ERROR: Backup failed issuing start backup command: pg_start_backup(): current transaction is aborted, commands ignored until end of transaction block

From logfile:

2014-04-15 10:41:48,705 barman.backup DEBUG: initialising backup information
2014-04-15 10:41:48,857 barman.backup INFO: Starting backup for server test-8.4 in /tmp/barman-tests/test-8.4/base/20140415T104148
2014-04-15 10:41:48,858 barman.backup DEBUG: connecting to database (host=/tmp port=5484 user=postgres dbname=postgres)
2014-04-15 10:41:48,858 barman.backup DEBUG: detecting data directory
2014-04-15 10:41:48,919 barman.backup DEBUG: detecting tablespaces
2014-04-15 10:41:48,923 barman.backup DEBUG: issuing start backup command
2014-04-15 10:41:48,926 barman.server DEBUG: Error calling pg_is_in_recovery() function: function pg_is_in_recovery() does not exist
LINE 1: select pg_is_in_recovery()
               ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

2014-04-15 10:41:48,926 barman.server DEBUG: pg_start_backup(): current transaction is aborted, commands ignored until end of transaction block

2014-04-15 10:41:48,929 barman.backup ERROR: Backup failed issuing start backup command: pg_start_backup(): current transaction is aborted, commands ignored until end of transaction block

Discussion

  • Gabriele Bartolini

    • status: open --> closed
     

Log in to post a comment.