X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 01C77D1B557 for ; Wed, 11 Feb 2004 06:04:42 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 56781-05 for ; Wed, 11 Feb 2004 02:04:26 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 2AB2CD1B4D2 for ; Wed, 11 Feb 2004 02:04:25 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i1B63obq015683; Wed, 11 Feb 2004 01:03:50 -0500 (EST) To: Robert Creager Cc: PGAdmin Subject: Re: Log query results? In-reply-to: <20040210194904.4293fb8a.Robert_Creager@LogicalChaos.org> References: <20040210194904.4293fb8a.Robert_Creager@LogicalChaos.org> Comments: In-reply-to Robert Creager message dated "Tue, 10 Feb 2004 19:49:04 -0700" Date: Wed, 11 Feb 2004 01:03:50 -0500 Message-ID: <15682.1076479430@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/152 X-Sequence-Number: 12326 Robert Creager writes: > I'm running 7.4.1 and am having problem when my app starts loading up on the > database. I want to verify the data coming back from the queries is correct > from the server side (not application side), as then I'll be sure my app is > squirrelly (or the db is). > I don't see any options in postgresql.conf that would allow this, but was > wondering if any of the debug levels might get me what I want. Or is there a > better way? Nothing on the backend side that I can think of. If you're using libpq then you could use PQtrace, though that's really intended for debugging libpq itself. Or you could point a packet sniffer at the TCP connection. regards, tom lane