Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 68EAF4764FB for ; Wed, 25 Sep 2002 13:23:29 -0400 (EDT) Received: from birch.ipaper.com (mx01.ipaper.com [141.129.1.7]) by postgresql.org (Postfix) with ESMTP id A2F3647611A for ; Wed, 25 Sep 2002 13:23:28 -0400 (EDT) Received: from swmta1.ipaper.com (swmta1.ipaper.com [164.103.62.7]) by birch.ipaper.com (8.10.2+Sun/8.10.2) with ESMTP id g8PEGAS28166; Wed, 25 Sep 2002 09:16:13 -0500 (CDT) Subject: Re: dump a table in windows To: Laurette Cisneros , pgsql-admin@postgresql.org X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: "Devinder K Rajput" Date: Wed, 25 Sep 2002 09:13:46 -0500 X-MIMETrack: Serialize by Router on SWMTA1.ipaper.com/IPAPER(Release 5.0.8 |June 18, 2001) at 09/25/2002 09:13:50 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/265 X-Sequence-Number: 5804 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 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