Re: pg_dump - Mailing list pgsql-hackers

From Дмитрий Воронин
Subject Re: pg_dump
Date
Msg-id 1800261446186879@web13g.yandex.ru
Whole thread Raw
In response to Re: pg_dump  (David Fetter <david@fetter.org>)
List pgsql-hackers
> More specifically, I am not quite understanding the distinction
> between "all cluster" and "global objects."

all cluster is roles, tablespaces, databases with it's content.
global objects is roles, tablespaces.

> 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?

I think, the baseline is pg_dump. So, pg_dump create a dump of database and it's content. pg_dump must backup comments,
securitylabels (if exists)
 
in some portable format (see my messages earlier). In our solution we now use proposed way for backup and restore
COMMENTsand SECURITY LABELs on DATABASE).
 

If my solution is good, I am ready to cooperate with rethinking and rewriting (if needed) mechanism of dumping in
PostgreSQL.

P.S. I already think so, that we needed in rethinking idea of dumping and restore objects if PostgreSQL.

Thank you.

-- 
Best regards, Dmitry Voronin



pgsql-hackers by date:

Previous
From: Stas Kelvich
Date:
Subject: Re: Cube extension kNN support
Next
From: Robins
Date:
Subject: Re: Cross-check recent documentation changes