Folks,

Please find enclosed a patch, per Dennis Björklund, that uses -f for
input files rather than <.  This makes error messages, &c. more
expressive.

Cheers,
D
-- 
David Fetter [EMAIL PROTECTED] http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!
Index: doc/src/sgml/backup.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/backup.sgml,v
retrieving revision 2.55
diff -c -r2.55 backup.sgml
*** doc/src/sgml/backup.sgml    22 Jan 2005 22:56:35 -0000      2.55
--- doc/src/sgml/backup.sgml    20 Feb 2005 20:45:07 -0000
***************
*** 177,183 ****
  </synopsis>
      The resulting dump can be restored with <application>psql</>:
  <synopsis>
! psql template1 &lt; <replaceable class="parameter">infile</replaceable>
  </synopsis>
      (Actually, you can specify any existing database name to start from,
      but if you are reloading in an empty cluster then <literal>template1</>
--- 177,183 ----
  </synopsis>
      The resulting dump can be restored with <application>psql</>:
  <synopsis>
! psql template1 -f <replaceable class="parameter">infile</replaceable>
  </synopsis>
      (Actually, you can specify any existing database name to start from,
      but if you are reloading in an empty cluster then <literal>template1</>
***************
*** 1210,1216 ****
  gmake install
  initdb -D /usr/local/pgsql/data
  postmaster -D /usr/local/pgsql/data
! psql template1 &lt; backup
  </programlisting>
  
     See <xref linkend="runtime"> about ways to start and stop the
--- 1210,1216 ----
  gmake install
  initdb -D /usr/local/pgsql/data
  postmaster -D /usr/local/pgsql/data
! psql template1 -f backup
  </programlisting>
  
     See <xref linkend="runtime"> about ways to start and stop the
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to