pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sabin Coanda <sabin.coanda@deuromedia.ro>
To: pgsql-sql@postgresql.org
Subject: How compare current_setting(..) ?
Date: Thu, 22 Feb 2007 12:25:42 +0200
Message-ID: <erjr2t$sdn$1@news.hub.org> (raw)

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 





view thread (3+ messages)  latest in thread

Message-ID: <erjr2t$sdn$1@news.hub.org>
Permalink:  ../erjr2t$sdn$1@news.hub.org/
Also on:    postgresql.org/message-id/erjr2t$sdn$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sabin.coanda@deuromedia.ro
  Subject: Re: How compare current_setting(..) ?
  In-Reply-To: <erjr2t$sdn$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox