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

Re: user defined settings (aka user defined guc variables)

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: user defined settings (aka user defined guc variables)
Date: 2002-12-19 01:24:00
Message-ID: Pine.LNX.4.21.0212191220040.32545-100000@linuxworld.com.au (view raw or flat)
Thread:
Lists: pgsql-hackers
On Wed, 18 Dec 2002, Joe Conway wrote:

> I've been playing around with making it possible to create user defined guc 
> variables. This has been discussed, at least in passing, before. And it is 
> even anticipated in guc.c as a possible future feature:
> /*
>   * Build the sorted array.	This is split out so that it could be
>   * re-executed after startup (eg, we could allow loadable modules to
>   * add vars, and then we'd need to re-sort).
>   */
> 
> It is a feature that would be nice to have, so that, for example, a user 
> defined variable named "my_classpath" could be created to point to the java 
> CLASSPATH needed by a custom C function.

Hmm. Is GUC really the best place for something like that? (not that there
is any other place :-)).

Gavin


In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2002-12-19 01:26:06
Subject: Re: user defined settings (aka user defined guc variables)
Previous:From: Tom LaneDate: 2002-12-19 01:07:52
Subject: Re: [Fwd: SETOF input parameters (was Re: [HACKERS] proposal: array utility functions phase 1)]

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