pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Devinder K Rajput <Devinder.Rajput@ipaper.com>
To: Laurette Cisneros <laurette@nextbus.com>
To: pgsql-admin@postgresql.org
Subject: Re: dump a table in windows
Date: Wed, 25 Sep 2002 09:13:46 -0500
Message-ID: <OFA8D7BDAC.EC26546B-ON86256C3F.004DC768@ipaper.com> (raw)


Have you tried pg_dump. Command should look something like

pg_dump  -t table_name db_name > output_file_name

Let me know if this works.  Thanks.

Devinder Rajput
Stores Division Corporate Offices
Chicago, IL
(773) 442-6474


                                                                                                                           
                    Laurette Cisneros                                                                                      
                    <laurette@nextbus.com>       To:     pgsql-admin@postgresql.org                                        
                    Sent by:                     cc:                                                                       
                    pgsql-admin-owner@post       Subject:     [ADMIN] dump a table in windows                              
                    gresql.org                                                                                             
                                                                                                                           
                                                                                                                           
                    09/24/2002 07:33 PM                                                                                    
                                                                                                                           
                                                                                                                           





I need to dump a table from a database on a server on another system into a
file from a client on windows.

I've tried using pgadminII and issuing a copy command but it runs dog slow!

I've tried using Python/pyPgSQL by querying the records from the table and
writing them to a file and it runs dog slow!

I can't compile psql because I don't have MS C++.

Any other ideas on what I can do or how to speed up any of these?

Thanks,

--
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
-----------------------------------
NextBus say:
Riders prefer to arrive just minute
before bus than just minute after.


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html






view thread (2+ messages)

Message-ID: <OFA8D7BDAC.EC26546B-ON86256C3F.004DC768@ipaper.com>
Permalink:  ../OFA8D7BDAC.EC26546B-ON86256C3F.004DC768@ipaper.com/
Also on:    postgresql.org/message-id/OFA8D7BDAC.EC26546B-ON86256C3F.004DC768@ipaper.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Devinder.Rajput@ipaper.com, laurette@nextbus.com
  Subject: Re: dump a table in windows
  In-Reply-To: <OFA8D7BDAC.EC26546B-ON86256C3F.004DC768@ipaper.com>
  References: <OFA8D7BDAC.EC26546B-ON86256C3F.004DC768@ipaper.com>

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

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