Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YTwYK-0004GV-9B for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Mar 2015 18:00:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YTwYJ-0000zY-NW for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Mar 2015 18:00:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YTeax-0002Sm-Ap for pgsql-bugs@postgresql.org; Thu, 05 Mar 2015 22:50:19 +0000 Received: from idcmail-mo2no.shaw.ca ([64.59.134.9]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YTean-0001cV-95 for pgsql-bugs@postgresql.org; Thu, 05 Mar 2015 22:50:17 +0000 Received: from lb7f8hsrpno-svcs.dcs.int.inet (HELO pd6mr2no-ssvc.prod.shaw.ca) ([10.0.144.222]) by pd7mo1no-svcs.prod.shaw.ca with ESMTP; 05 Mar 2015 15:50:05 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=mpg7jqPh/pJA95SkWSEXX4FoG3oTxIRBHbqTNVmka3k= c=1 sm=1 a=FKkrIqjQGGEA:10 a=5L82a4clzAsA:10 a=BLceEmwcHowA:10 a=pGLkceISAAAA:8 a=epTmVMiNAAAA:8 a=b1QilLdpdx_BFtK7VA8A:9 a=QEXdDO2ut3YA:10 a=mhEm4qCFds4A:10 a=qcaJbp0KJfuZuZHr1VEA:9 a=_W_S_7VecoQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO cds018.dcs.int.inet) ([10.0.144.222]) by pd6mr2no-svcs.prod.shaw.ca with ESMTP; 05 Mar 2015 15:50:05 -0700 Date: Thu, 5 Mar 2015 15:50:05 -0700 (MST) From: Ha Quan Le Reply-To: Ha Quan Le To: michael.paquier@gmail.com Cc: pgsql-bugs@postgresql.org Message-ID: <1847084871.16913807.1425595805652.JavaMail.root@shaw.ca> In-Reply-To: Subject: Re: BUG #12821: Cannot install xlogdump MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16913806_1691187788.1425595805651" X-Originating-IP: [208.65.73.110, 154.20.64.190] X-Mailer: Zimbra 7.2.7_GA_2942 (ZimbraWebClient - GC40 (Win)/7.2.7_GA_2942) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org ------=_Part_16913806_1691187788.1425595805651 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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" To: "Ha Quan Le" 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 ------=_Part_16913806_1691187788.1425595805651 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: arial,helvetica,sans-serif; font-size: 10pt; colo= r: #000000'>Dear Mr = Paquier, 

We are now having 2 databases

<= /font>
a) postgres database on 10.236.49.12 = (chosen as the master)
b) postgres databas= e on 172.24.22.68 (chosen as the replicated one)

Each server was setup PGB= ouncer already; 2 servers are configured identically (Ubuntu 14.04.1)

may I ask you: How can we connect pgBou= ncer on the two databases so that changes on 10.236.49.12'= s postgres database will be automatically replicated onto the <= font face=3D"arial, helvetica, sans-serif">172.24.22.68 ?

How to link= the two server by pgBouncer and is there any other guideline?
=

You bet
Ha.



From: "Michael Paquier" &= lt;michael.paquier@gmail.com>
To: "Ha Quan Le" <nlp.sr@shaw= .ca>
Cc: pgsql-bugs@postgresql.org
Sent: Tuesday, Ma= rch 3, 2015 6:41:05 PM
Subject: Re: Re[4]: [BUGS] BUG #12821: Can= not 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 vi= ewing each segment and short info? I suppose that a
> 16MB WAL log bu= t only a piece as above?

If you want to see all the content of a giv= en 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://ww= w.postgresql.org/docs/9.3/static/pgxlogdump.html



--
Mich= ael

------=_Part_16913806_1691187788.1425595805651--