Skip site navigation (1) Skip section navigation (2)

Re: Getting the value of a config parameter in runtime

From: AmitKumar Jain <amitjain(at)synechron(dot)com>
To: Jaume Sabater <jsabater(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Getting the value of a config parameter in runtime
Date: 2008-12-31 00:07:55
Message-ID: 495AB7DB.7050903@synechron.com (view raw or flat)
Thread:
Lists: pgsql-admin
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.
>
>   

In response to

pgsql-admin by date

Next:From: Ray StellDate: 2008-12-31 01:42:35
Subject: Re: ssl database connection problems...
Previous:From: Carol WalterDate: 2008-12-30 20:53:37
Subject: Re: ssl database connection problems...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group