public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bruce Momjian <[email protected]>
To: Mike Toews <[email protected]>
Cc: [email protected]
Subject: Re: Improve pg_restore docs
Date: Wed, 24 Feb 2010 11:28:44 -0500 (EST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

Mike Toews wrote:
> Hi,
> 
>  From a quick discussion on hackers 
> (http://archives.postgresql.org/pgsql-hackers/2009-06/msg01434.php), it 
> appears the documentation can improve for pg_restore.
> 
> I've prepared some quick diff output from 
> pgsql/doc/src/sgml/ref/pg_restore.sgml for some changes that I think 
> would help. Note that I'm not entirely sure about the default namespace 
> from default_path .. please verify this before accepting. Edit as necessary.
> 
> 291c291,292
> <         specific table.
> ---
>  >         specific table.  The default is taken from the
>  >         <envar>default_path</envar> variable.
> 379c380,382
> <         Restore definition and/or data of named table only.
> ---
>  >         Restore definition and/or data of named table only. This can be
>  >         combined with the <option>-n</option> option to restore a table
>  >         from a specific schema.

I have applied a modified version of your second change to our
documentation.

-- 
  Bruce Momjian  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com
  PG East:  http://www.enterprisedb.com/community/nav-pg-east-2010.do
  + If your life is a hard drive, Christ can be your backup. +


Attachments:

  [text/x-diff] /rtmp/diff (1007B, 2-%2Frtmp%2Fdiff)
  download | inline diff:
Index: doc/src/sgml/ref/pg_restore.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/ref/pg_restore.sgml,v
retrieving revision 1.85
diff -c -c -r1.85 pg_restore.sgml
*** doc/src/sgml/ref/pg_restore.sgml	23 Feb 2010 00:21:19 -0000	1.85
--- doc/src/sgml/ref/pg_restore.sgml	24 Feb 2010 16:27:14 -0000
***************
*** 377,383 ****
        <term><option>--table=<replaceable class="parameter">table</replaceable></option></term>
        <listitem>
         <para>
!         Restore definition and/or data of named table only.
         </para>
        </listitem>
       </varlistentry>
--- 377,384 ----
        <term><option>--table=<replaceable class="parameter">table</replaceable></option></term>
        <listitem>
         <para>
!         Restore definition and/or data of named table only.  This can be
!         combined with the <option>-n</option> option to specify a schema.
         </para>
        </listitem>
       </varlistentry>


view thread (5+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Improve pg_restore docs
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox