Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] pg_upgrade

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] pg_upgrade
Date: 2002-01-10 18:16:46
Message-ID: 200201101816.g0AIGkO29844@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Also, how do I find the current xlog segment position.  Is it one of
> > these fields shown by pg_controldata?
> 
> "latest checkpoint location" should do.

OK.  I will add a -l flag to specify that location.

> BTW, if your script is relying on pg_resetxlog to be available, best to
> ensure that it's there before you do anything irreversible ...

Oh yes, I will make sure it is available _and_ has the flags from the
new version.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2002-01-10 18:54:12
Subject: Re: [HACKERS] pg_upgrade
Previous:From: Tom LaneDate: 2002-01-10 18:14:51
Subject: Re: [HACKERS] pg_upgrade

pgsql-patches by date

Next:From: Bruce MomjianDate: 2002-01-10 18:54:12
Subject: Re: [HACKERS] pg_upgrade
Previous:From: Tom LaneDate: 2002-01-10 18:14:51
Subject: Re: [HACKERS] pg_upgrade

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group