barman icon indicating copy to clipboard operation
barman copied to clipboard

wal_keep_segments breaking change to wal_keep_size in PG 13

Open kapouer opened this issue 6 years ago • 14 comments

Hi,

i gave a shot to postgres 13 with barman 2.11, and got

2020-09-26 01:24:13.343 CEST [604692] barman@postgres ERROR:  unrecognized configuration parameter "wal_keep_segments"
2020-09-26 01:24:13.343 CEST [604692] barman@postgres STATEMENT:  SHOW "wal_keep_segments"
2020-09-26 01:24:13.344 CEST [604692] barman@postgres ERROR:  current transaction is aborted, commands ignored until end of transaction block
2020-09-26 01:24:13.344 CEST [604692] barman@postgres STATEMENT:  SELECT 1

Cheers !

kapouer avatar Sep 25 '20 23:09 kapouer

I have the same issue using barman v2.12 and PostgreSQL 13.

barman@postgres ERROR:  unrecognized configuration parameter "wal_keep_segments"
barman@postgres STATEMENT:  SHOW "wal_keep_segments"
barman@postgres ERROR:  current transaction is aborted, commands ignored until end of transaction block
barman@postgres STATEMENT:  SELECT 1

albertosrocha avatar Nov 24 '20 17:11 albertosrocha

Hello. Why is this issue still not fixed, it generates hundreds of errors in the PG log file ?

mrechte avatar Jan 29 '21 07:01 mrechte

Ping ? i just realized i forgot to force-push a fix for the small typo in that commit.

kapouer avatar Feb 03 '21 00:02 kapouer

Hi @mnencia !

Any news on this bug ? The MR #303 looks good to me !

daamien avatar Feb 22 '21 14:02 daamien

I've fixed this recently. It will be included in the next Barman release.

amenonsen avatar Mar 03 '21 13:03 amenonsen

Thanks ! Is there a timeline for the next release ?

daamien avatar Mar 03 '21 14:03 daamien

I'm still going through open issues and putting together a list of things to do for the release. I can't make any promises about the timeline yet, but I hope to do it in the next couple of weeks.

amenonsen avatar Mar 03 '21 14:03 amenonsen

Is there a workaround to avoid this?

amari-at4 avatar Apr 14 '21 11:04 amari-at4

Today I upgraded one of our PostgreSQL DB to 13, and hit the same issue. PG13 is more thant half year old, when we could be expect a new version with fix.

dstoyanovi avatar Jun 24 '21 07:06 dstoyanovi

This fix is going out in 2.12.1 which should be available this week.

mikewallace1979 avatar Jun 30 '21 16:06 mikewallace1979

@mikewallace1979

I see that 2.12.1 released but not available in the postgres apt repo. Before acquired by EDB all barman releases also pushed to https://apt.postgresql.org. Is this still will be the case?

shamil avatar Jul 02 '21 19:07 shamil

@shamil you just need to wait a bit i guess. However github issues are not made to discuss everything in one single thread...

kapouer avatar Jul 02 '21 20:07 kapouer

@shamil The intention is that barman releases will continue to be made available in all the usual places.

mikewallace1979 avatar Jul 02 '21 21:07 mikewallace1979

Fixed, 10x

dstoyanovi avatar Jul 06 '21 11:07 dstoyanovi