Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id AD03264FCC0 for ; Wed, 31 Dec 2008 08:12:35 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 53852-03 for ; Wed, 31 Dec 2008 08:12:33 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.synechron.com (mail.synechron.com [74.205.14.240]) by mail.postgresql.org (Postfix) with ESMTP id CDA5D64FC76 for ; Wed, 31 Dec 2008 08:12:32 -0400 (AST) Received: from [10.31.9.119] [59.163.70.254] by mail.synechron.com with ESMTP (SMTPD-9.23) id A1AC03D0; Wed, 31 Dec 2008 07:12:28 -0500 Message-ID: <495AB7DB.7050903@synechron.com> Date: Wed, 31 Dec 2008 05:37:55 +0530 From: AmitKumar Jain User-Agent: Thunderbird 2.0.0.18 (X11/20081105) MIME-Version: 1.0 To: Jaume Sabater CC: pgsql-admin@postgresql.org Subject: Re: Getting the value of a config parameter in runtime References: <3786f7bb0812310335p7d1e5bbu8d01b175a628ee6f@mail.gmail.com> In-Reply-To: <3786f7bb0812310335p7d1e5bbu8d01b175a628ee6f@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=4.201 tagged_above=0 required=5 tests=DATE_IN_PAST_12_24=1.77, DNS_FROM_OPENWHOIS=2.431 X-Spam-Level: **** X-Archive-Number: 200812/209 X-Sequence-Number: 31042 You can configuration parameter value from psql prompt by typing show all ; or show [paramter name] e.g show shared_buffers; Jaume Sabater wrote: > Hi all! > > Sorry to ask this, I had it noted down but now I cannot find it and > I've been googling for 30 minutes now without success. There is a way > to query the system database to get the current value of a > configuration parameter, something in the form of SELECT value FROM > some_table WHERE field_name = 'archive_command', or similar, can't > remember, honestly. Or perhaps something more generic which was > filtered with greps, tails, heads and cuts. > > Would someone be so kind as to point me at the right page or remind me > the way it was done? > > Thanks in advance. > >