X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1CB6B4763A4 for ; Fri, 2 May 2003 15:22:11 -0400 (EDT) Received: from carbon.webpack.hosteurope.de (carbon.one-2-one.net [217.115.142.94]) by postgresql.org (Postfix) with ESMTP id C7D14475AE5 for ; Fri, 2 May 2003 15:22:05 -0400 (EDT) Received: from developer (p5083DC29.dip.t-dialin.net [80.131.220.41]) by carbon.webpack.hosteurope.de (8.11.6/8.11.6) with ESMTP id h42JM5I21321 for ; Fri, 2 May 2003 21:22:05 +0200 From: "Daniel Seichter" To: pgsql-admin@postgresql.org Date: Fri, 02 May 2003 21:23:28 +0200 MIME-Version: 1.0 Subject: Re: pg_dumpall / pg_dump Message-ID: <3EB2E1D0.13523.B0F8D5@localhost> In-reply-to: X-mailer: Pegasus Mail for Windows (v4.02a, DE v4.02 R1a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Spam-Status: No, hits=-11.3 required=5.0 tests=BAYES_01,IN_REP_TO,QUOTED_EMAIL_TEXT,RCVD_IN_NJABL, RCVD_IN_OSIRUSOFT_COM autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/30 X-Sequence-Number: 8592 Hello, what do you think about to dump each table with the option t and add the output of the dump to one file? Daniel > Postgres ver. 7.3.1, on HPUX. > > I'm having a problem dumping my database using pg_dumpall. The > statement_timeout value is set to 15 minutes, and I don't want to set > it higher (protecting the db against long and/or ill formed queries). > > My problem is, the dump takes more that 15 minutes and there doesn't > seem to be any way to temporarily increase the timeout value a la: > > & psql -c "set statement_timeout = 0;" > & pg_dumpall ... > & psql -c "set statement_timeout = 900000;" > > I did hack the vacuumdb script to alter the timeout value so VACUUM > would complete (takes 1 hour 30 minutes). > > Is there any way to hack pg_dump and pg_dumpall to temporarily > increase statement_timeout limits so backups can complete? Or, better > yet, is there an undocumented command to alter the statement_timeout > value during the dump? > > > Bill Jones > Systems Architect > Middleware Services > Wells Fargo Services Company > Office --415.243.1364 > PCS -- 415.254.3831 (4152543831@mobile.att.net) > > Views expressed are mine. Only in unusual circumstances are they > shared by my employer. > > > ---------------------------(end of > broadcast)--------------------------- TIP 6: Have you searched our > list archives? > > http://archives.postgresql.org -- Eigene Software und Projekte, KI, Links und Sonstiges! Schauen Sie einfach mal vorbei, unter http://www.dseichter.de