Re: accessing postgres conf from stored procedure

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: strk <strk(at)keybit(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: accessing postgres conf from stored procedure
Date: 2005-06-27 12:55:50
Message-ID: 587D176F-F87C-4345-B00E-6B20ED8A06B6@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

you can use show xxx to show configuration values

http://www.postgresql.org/docs/7.4/interactive/sql-show.html

Dave
On 27-Jun-05, at 6:56 AM, strk wrote:

> Is it possible to access postgres configuration from
> a C stored procedure ?
>
> I need to leverage memory usage and I'd use postgres configuration
> rather then a compile-time define.
>
> Is there such a configuration, if access is possible ?
>
> --strk;
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2005-06-27 13:51:48 tsearch2 vs core?
Previous Message Teodor Sigaev 2005-06-27 12:49:00 GiST concurrency commited