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 19:52:13
Message-ID: (view raw, whole thread or download thread mbox)
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.
> BTW, if your script is relying on pg_resetxlog to be available, best to
> ensure that it's there before you do anything irreversible ...

OK, here is code to set the checkpoint log id and offset using a new -l
flag.  It also now displays the checkpoint location with -n.

  Bruce Momjian                        |
  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 20:08:26
Subject: Re: 7.1 vs. 7.2 on AIX 5L
Previous:From: Bruce MomjianDate: 2002-01-10 19:40:25
Subject: Re: again on index usage

pgsql-patches by date

Next:From: Greg Sabino MullaneDate: 2002-01-10 21:05:10
Subject: doc/src/FAQ/FAQ.html changes
Previous:From: Bruce MomjianDate: 2002-01-10 19:06:55
Subject: Re: [HACKERS] pg_upgrade

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