Re: [HACKERS] pg_resetxlog -r flag

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Cc: yuanjia lee <yuanjia_pg(at)yahoo(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>
Subject: Re: [HACKERS] pg_resetxlog -r flag
Date: 2006-06-03 02:20:01
Message-ID: 200606030220.k532K1C10584@candle.pha.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-patches


[ FYI, my previous email mentioned -f, while the feature is -r.]

Bruce Momjian wrote:
> A month ago, pg_resetxlog got an -r flag:
>
> -r restore the pg_control file from old XLog files,
> resets is not done.
>
> However, the patch had identifiable problems that are still not fixed:
>
> http://archives.postgresql.org/pgsql-hackers/2006-05/msg00013.php
>
> Unless these problems are fixed in the next few days, the patch will be
> reverted.

No one has fixed the patch, so I am removing it. There is a memory leak
in the code, a missing lock, and it needs to be better designed. If
anyone wants to update the patch and resubmit it, please go ahead. The
problem are listed in this thread:

http://archives.postgresql.org/pgsql-hackers/2006-05/msg00002.php

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
unknown_filename text/plain 40.1 KB
unknown_filename text/plain 40.1 KB

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-06-03 02:53:33 Re: quick patch for pg_database.encoding doc
Previous Message Larry Rosenman 2006-06-02 17:54:04 quick patch for pg_database.encoding doc
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy