Re: pg_dump

From: David Fetter <david(at)fetter(dot)org>
To: Дмитрий Воронин <carriingfate92(at)yandex(dot)ru>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Noah Misch <noah(at)leadboat(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump
Date: 2015-10-29 16:14:19
Message-ID: 20151029161419.GE401@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Oct 29, 2015 at 07:03:12PM +0300, Дмитрий Воронин wrote:
>
> >>  Maybe it will be a good idea to make a dumper with some dumping levels:
> >>  - all cluster
> >>  - global objects
> >>  - database level
> >
> > I'm not sure I understand. Is there some utility in dividing this
> > into these particular levels?
>
> -all cluster -- it's what pg_dumpall and pg_dump do.
> - global objects -- it's dumping tablespaces, roles, database(structure).
> - database level -- it's dumping all inside one database.

More specifically, I am not quite understanding the distinction
between "all cluster" and "global objects."

What do you have in mind on the implementation side? Do you think
pg_dump is a suitable baseline, or were you thinking of something
different, and if so, what?

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

  • Re: pg_dump at 2015-10-29 16:03:12 from Дмитрий Воронин

Responses

  • Re: pg_dump at 2015-10-30 06:34:39 from Дмитрий Воронин

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Janes 2015-10-29 16:22:15 Re: pg_dump
Previous Message Simon Riggs 2015-10-29 16:06:27 Re: Personal note: changing employers