Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id AF7489FBC28 for ; Thu, 22 Feb 2007 06:25:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 74476-09 for ; Thu, 22 Feb 2007 06:25:31 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 302889FB848 for ; Thu, 22 Feb 2007 06:25:35 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id ADE37308F7; Thu, 22 Feb 2007 11:25:33 +0100 (MET) From: "Sabin Coanda" X-Newsgroups: pgsql.sql Subject: How compare current_setting(..) ? Date: Thu, 22 Feb 2007 12:25:42 +0200 Organization: Hub.Org Networking Services Lines: 15 Message-ID: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original To: pgsql-sql@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/218 X-Sequence-Number: 27552 Hi there, I'd like to check that my log_line_prefix is set to '%t'. I suppose I can check it with the following statement: SELECT current_setting( 'log_line_prefix' ) WHERE current_setting( 'log_line_prefix' ) != '%t' But it returns every time a row, with '%t', even when log_line_prefix is set to '%t'. What's wrong ? TIA, Sabin