pg_filedump improvements

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: pg_filedump improvements
Date: 2012-03-12 17:15:48
Message-ID: 5826.1331572548@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Also, what do you think about adding the ability to dump pg_filenode.map
> files? Do you think it belongs in pg_filedump, or should we look at
> doing that elsewhere?

Not sure. It does already contain the ability to dump pg_control, but
that seems like rather a wart (not to mention redundant with
pg_controldata) because you have to explicitly say -c to get it to
realize that's what you want. Map files would have to be another
special switch I think.

> (Hmm, I just realized we might also conceivably
> want to dump VM and FSM forks, too)

Yeah, that's been on the to-do list for awhile. There's not a way that
pg_filedump could automatically recognize such files, is there?

regards, tom lane

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2012-03-12 18:58:42 pgsql: Add comment for missing break in switch
Previous Message Alvaro Herrera 2012-03-12 16:48:26 Re: [COMMITTERS] pgfiledump - pg_filedump: Updates for latest Postgres 9.2 sources.

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-03-12 17:28:11 Re: foreign key locks, 2nd attempt
Previous Message Daniel Farina 2012-03-12 17:11:59 Re: query planner does not canonicalize infix operators