agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Richard Dunne <richarddunne1971@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: pg_dump?
Date: Mon, 14 May 2007 15:48:17 -0700 (PDT)
Message-ID: <887138.91241.qm@web50308.mail.re2.yahoo.com> (raw)

PostgreSQL begginer. Whats the best way of exporting(dumping) a database/table/view/query to a file? 
I am using PostgreSQL v 8.2.  I am starting postgres server with 
C:\WINDOWS\system32\net.exe  start pgsql-8.2, (start service)
C:\postgresql-8.2.3-1\bin\psql.exe  -h localhost -p 5432 postgres "Richard" 
(psql to 'postgres')
both of which are run from shortcuts in the start menu. 
my cli starts with "postgres #", then "databasename #" after connecting using \c.

Richard.


       
____________________________________________________________________________________Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php



view thread (14+ messages)  latest in thread

Message-ID: <887138.91241.qm@web50308.mail.re2.yahoo.com>
Permalink:  ../887138.91241.qm@web50308.mail.re2.yahoo.com/
Also on:    postgresql.org/message-id/887138.91241.qm@web50308.mail.re2.yahoo.com

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: pgsql-sql@postgresql.org
  Cc: richarddunne1971@yahoo.com
  Subject: Re: pg_dump?
  In-Reply-To: <887138.91241.qm@web50308.mail.re2.yahoo.com>

* 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