Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 83C796501EB for ; Wed, 20 Aug 2008 21:10:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 38111-06-2 for ; Wed, 20 Aug 2008 21:09:41 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by postgresql.org (Postfix) with ESMTP id E153F6500E5 for ; Wed, 20 Aug 2008 21:08:13 -0300 (ADT) Received: by yw-out-2324.google.com with SMTP id 3so33229ywj.73 for ; Wed, 20 Aug 2008 17:08:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=yQPUC+fyMUGHTQLzB8K17R2vNNVjFFj9QO0javDyAcQ=; b=C1Y8fQ5qzNkKmSZodbgTI/zt0EXIMa6tHw+bpYEdnMCoCgTqZ2lB0W5fBvc9T8AxS+ /hoRCdsFVFzfardqxjOm/MOdhCBYfzSmQVaXezo7e93Wz/B7OVXEKsbJemA0i6NWR1RZ x2HgFuVoHzWU/1u9MviEiomKLStGLZlBslPpo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ryEIJEdYT58LbHFXAqGJwIeU0VSFwYRgeyAodCvakl/mWmV1ucc2+nxdX/BobUXoim nhENVUPgICRNMtyK8jlqPXkIAA9u0ElAj74rIemWGB+2yfJ93EG4c7Z4hDOwW0CkHjjv 0gMjZ/8mtHL3Q0vB0umdK1gzBly7e4MHG8AsE= Received: by 10.114.152.17 with SMTP id z17mr883093wad.63.1219277291422; Wed, 20 Aug 2008 17:08:11 -0700 (PDT) Received: by 10.114.208.16 with HTTP; Wed, 20 Aug 2008 17:08:11 -0700 (PDT) Message-ID: <78926d250808201708l72592275hb7fdbdc83c8118a5@mail.gmail.com> Date: Wed, 20 Aug 2008 20:08:11 -0400 From: "slamp slamp" To: pgsql-admin@postgresql.org Subject: Re: pg_log directory In-Reply-To: <20080820210207.GA1945@internet24.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <78926d250808201343x41e6840cma213c92572ec4268@mail.gmail.com> <20080820210207.GA1945@internet24.de> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.156 tagged_above=0 required=5 tests=WHOIS_MYPRIVREG=0.156 X-Spam-Level: X-Archive-Number: 200808/95 X-Sequence-Number: 29940 Thanks, they do look like the lines you have below. I have separate pg_xlog and pg_clog folders. i'll check the statement logging config, is this the same as transaction logging? On Wed, Aug 20, 2008 at 5:02 PM, Thomas Jacob wrote: > pg_log isn't a standard postgres dir, > so maybe it's where RHEL stores the > actual textual log files that the > server process generated. > > Indeed this is suggested here: > > http://www.nabble.com/-GENERAL--pg_log-missing-td7753209.html > > So if these files look something like: > > 2008-08-03 00:30:47 CEST LOG: statement: SELECT col1,col2 FROM table1; > 2008-08-03 00:30:47 CEST LOG: statement: SELECT col FROM table2; > > they are just postgres log files, and the server has statement logging > switched on, which is not such a good idea on a busy database. > > But if not they might be RHEL names for pg_xlog or pg_clog > and deleting these would be an active attempt to destroy > your database ;-) > > > > On Wed, Aug 20, 2008 at 04:43:06PM -0400, slamp slamp wrote: >> Hi, I am new to this list sorry for asking such a lame question. I >> tried searching but did not find the answer i was looking for. >> >> I am running postgresql-8.2.4 on rhel5. Do I need the files in pg_log? >> When I look at one of the files, it shows INSERT, UPDATE and SELECT >> statements. Reason I asked is because the folder is about 40GB. It is >> half the size of my /var/lib/pgsql directory. >> >> -- >> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) >> To make changes to your subscription: >> http://www.postgresql.org/mailpref/pgsql-admin >