pg_standby and compressed archive - Mailing list pgsql-admin

From Joby Joba
Subject pg_standby and compressed archive
Date
Msg-id AANLkTi=TM5MqSZ8i0TFXWE7Q_KEGf0FirxZv6yoTKv-f@mail.gmail.com
Whole thread Raw
Responses Re: pg_standby and compressed archive
List pgsql-admin
Hello !

in order to reduce disk space used by postgresql's archived logs I use the following command for the parameter archive_command :

archive_command = 'gzip -c %p >/u10/pgmi/postgresql/archive/%f.gz'


I have configured a standby database with the contrib module and pg_stanby. My question is : how to tell pg_standby to work with compressed archive ? First of all, is it possible ?


The command which work when archive aren't compressed is like this :
recovery_command = 'pg_standby -t /tmp/trigger_standby /u10/pgmi/postgres_standby/archive %f %p %r 2> pg_standby.log'


Thanks for your help !

Regards,

Joby

pgsql-admin by date:

Previous
From: Lou Picciano
Date:
Subject: Re: PostgreSQL 9.0
Next
From: "Arnold, Sandra"
Date:
Subject: Changing default tablespace for specific users -- Is it possible?