X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 94725D1B241 for ; Tue, 15 Jun 2004 07:11:25 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 50913-04 for ; Tue, 15 Jun 2004 10:11:19 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id A0D72D1B169 for ; Tue, 15 Jun 2004 07:11:15 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i5FABFQC019571 for ; Tue, 15 Jun 2004 10:11:15 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i5F9txkC016558 for pgsql-admin@postgresql.org; Tue, 15 Jun 2004 09:55:59 GMT From: spam@infocopter.ch (Reto) X-Newsgroups: comp.databases.postgresql.admin Subject: Debugging SQL Statements from *any* client(s) Date: 15 Jun 2004 02:56:01 -0700 Organization: http://groups.google.com Lines: 15 Message-ID: <7c90b231.0406150156.48c8245b@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/257 X-Sequence-Number: 13917 DEBUG5 is not enough to log SQL statements ------------------------------------------ I've set up a courier-imap POP server authenticating against a PostgreSQL table through authdaemond/authpgsqlrc. I can verify courier-imap sends its SELECT statement to make a login attempt but the POP login fails. I know I'm pretty close to solve this but I have to see exactly how the applied SELECT statement from courier-imap looks like. Since debugging courier-imap is a pain, I've run postmaster with the highest possible debug level but the SQL statements are not being logged yet :-| Any advice is very appreciated.