| 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: | 200201101952.g0AJqDL10213@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-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 | 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
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 5.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2002-01-10 20:08:26 | Re: 7.1 vs. 7.2 on AIX 5L |
| Previous Message | Bruce Momjian | 2002-01-10 19:40:25 | Re: again on index usage |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Sabino Mullane | 2002-01-10 21:05:10 | doc/src/FAQ/FAQ.html changes |
| Previous Message | Bruce Momjian | 2002-01-10 19:06:55 | Re: [HACKERS] pg_upgrade |