Re: backup.sgml patch that adds information on custom format backups - Mailing list pgsql-hackers

From Robert Haas
Subject Re: backup.sgml patch that adds information on custom format backups
Date
Msg-id CA+Tgmoaq-9D_mst113TdW=Ar8mpgBc+x6T61AzK3eMhww9gRcQ@mail.gmail.com
Whole thread Raw
In response to backup.sgml patch that adds information on custom format backups  (Ivan Lezhnjov IV <iliv@commandprompt.com>)
Responses Re: backup.sgml patch that adds information on custom format backups
Re: backup.sgml patch that adds information on custom format backups
List pgsql-hackers
On Fri, Feb 8, 2013 at 1:56 PM, Ivan Lezhnjov IV <iliv@commandprompt.com> wrote:
> Hello,
>
> I'd like to submit the following patch that extends backup.sgml with a bit of practical but important information.
>
> Project: postgresql
> Patch filename: backup.sgml-cmd-v001.patch
>
> The patch extends backup.sgml and adds practical information on custom format backups approach. Basically, we believe
thatplaintext backup format is suitable for a very limited range of use cases, and that in real world people are
usuallybetter off with a custom format backup. This is what we want PostgreSQL users to be aware of and provide some
hands-onexamples of how to do backups using this approach. 
>
> It is meant for application, and is against master branch.
>
> The patch does pass 'make check' and 'make html' successfully.
>
> PS: this is my first submission ever. So, if I'm missing something or not doing it as expected, please, do let me
know.Thank you. 

Generally it's a good idea to discuss whatever you'd like to change
before you actually write the patch, so as to get consensus on it.
I'm not sure what others think, but the proposed wording seems a bit
hard on plain text dumps to me.  For many people, the advantage of
having a file in a format you can read may outweigh the disadvantages
of being unable to do a selective restore.  Not that custom-format
dumps aren't great; they certainly are.  But it isn't a bug that we
support more than one format.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: A question about the psql \copy command
Next
From: Noah Misch
Date:
Subject: Re: BUG #7493: Postmaster messages unreadable in a Windows console