Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 4B81B475B0D; Wed, 29 May 2002 10:44:42 -0400 (EDT) Received: from hqmail.nws.noaa.gov (hqmail.nws.noaa.gov [140.90.19.73]) by postgresql.org (Postfix) with ESMTP id 845AE475C77; Wed, 29 May 2002 10:42:26 -0400 (EDT) Received: from noaa.gov ([140.90.8.96]) by hqmail.nws.noaa.gov (Netscape Messaging Server 4.15) with ESMTP id GWVNIV00.5WC; Wed, 29 May 2002 10:42:31 -0400 Message-ID: <3CF4E8D3.8FDFF1A8@noaa.gov> Date: Wed, 29 May 2002 10:42:27 -0400 From: "Raymond Chui" Organization: NWS NOAA X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org, pgadmin-support@postgresql.org Subject: How to partial dump the log in SQL? Content-Type: multipart/mixed; boundary="------------EA4E3BA2A252BC8104C963CD" X-Archive-Number: 200205/73 X-Sequence-Number: 505 This is a multi-part message in MIME format. --------------EA4E3BA2A252BC8104C963CD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am use Postgres 7.1 going to upgrade to 7.2 run in Redhat Linux 7.2. Each time user do update, insert and delete will save to the logfile, right? 1) Where is that log file? 2 ) How do I do partial dump the log file in SQL statements? For example, I want to dump all log from 6:00 to 9:00 , from 9:00 to 12:00 , from 12:00 to 15:00, from 15:00 to 18:00, etc. I can use these partial dump as incremental backup instead full dump. I can also use these partial dump as replicate data to other Postgres server. Please tell me how do these. P.S. our NNTP USENET server doesn't have all *.pgsql-* news groups. Therefore, please CC a copy to me if you response my message. Thank Q! --------------EA4E3BA2A252BC8104C963CD Content-Type: text/x-vcard; charset=us-ascii; name="raymond.chui.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Raymond Chui Content-Disposition: attachment; filename="raymond.chui.vcf" begin:vcard n:Chui;Raymond tel;work:301-713-0624 x168 x-mozilla-html:FALSE url:http://www.nws.noaa.gov/ org:NWS, NOAA;OHD13 version:2.1 email;internet:raymond.chui@noaa.gov title:CS adr;quoted-printable:;;1325 East-West Highway=0D=0ASSMC2, Room 8112;Silver Spring;MD;20910-3282;U.S.A. fn:Raymond Chui end:vcard --------------EA4E3BA2A252BC8104C963CD--