From: Ha Quan Le <nlp.sr@shaw.ca>
To: michael.paquier@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12821: Cannot install xlogdump
Date: Thu, 5 Mar 2015 15:50:05 -0700 (MST)
Message-ID: <1847084871.16913807.1425595805652.JavaMail.root@shaw.ca> (raw)
In-Reply-To: <CAB7nPqQ0pmVcKD-NtBhEupUKcTHZi3P65BfqMh17j3+fYa=F_g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Dear Mr Paquier,
We are now having 2 databases
a) postgres database on 10.236.49.12 (chosen as the master)
b) postgres database on 172.24.22.68 (chosen as the replicated one)
Each server was setup PGBouncer already; 2 servers are configured identically (Ubuntu 14.04.1)
may I ask you: How can we connect pgBouncer on the two databases so that changes on 10.236.49.12's postgres database will be automatically replicated onto the 172.24.22.68 ?
How to link the two server by pgBouncer and is there any other guideline?
You bet
Ha.
----- Original Message -----
From: "Michael Paquier" <michael.paquier@gmail.com>
To: "Ha Quan Le" <nlp.sr@shaw.ca>
Cc: pgsql-bugs@postgresql.org
Sent: Tuesday, March 3, 2015 6:41:05 PM
Subject: Re: Re[4]: [BUGS] BUG #12821: Cannot install xlogdump
> is there any statement so that I just run pg_xlogdump with which options so
> that it will show all the WAL log file from the beginning until the end of
> the WAL log instead of viewing each segment and short info? I suppose that a
> 16MB WAL log but only a piece as above?
If you want to see all the content of a given file, simply do not use
-n, you can as well have a look at series of files, like that:
pg_xlogdump $FIRST_SEGMENT_FILE $LAST_SEGMENT_FILE
Note that all those things are explained in the documentation:
http://www.postgresql.org/docs/9.3/static/pgxlogdump.html
--
Michael
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: nlp.sr@shaw.ca, michael.paquier@gmail.com
Subject: Re: BUG #12821: Cannot install xlogdump
In-Reply-To: <1847084871.16913807.1425595805652.JavaMail.root@shaw.ca>
References: <CAB7nPqQ0pmVcKD-NtBhEupUKcTHZi3P65BfqMh17j3+fYa=F_g@mail.gmail.com> <1847084871.16913807.1425595805652.JavaMail.root@shaw.ca>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox