Re: GUC configuration - Mailing list pgsql-general

From Wappler, Robert
Subject Re: GUC configuration
Date
Msg-id C8E2DAF0E663A948840B04023E0DE32A03097440@w2k3server02.de.ophardt.com
Whole thread Raw
In response to GUC configuration  (Θάνος Παπαπέτρου <thanos@di.uoa.gr>)
Responses Re: GUC configuration
List pgsql-general

On %D, %SN wrote:

%Q

%C
--
Robert...

> -----Original Message-----
> From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-
> owner@postgresql.org] On Behalf Of T???? ?apap?t???
> Sent: Thursday, February 10, 2011 2:18 PM
> To: pgsql-general@postgresql.org
> Subject: [GENERAL] GUC configuration
>
> Hi,
>
> I am an MSc student in the department of Informatics and
> Telecommunications of the University of Athens and as part of my
> thesis I am examining some new cost models for DB optimizers. I have
> successfully changed the optimizer of PostgreSQL in order to implement
> these models, but I have stumbled upon a very little detail: until now
> I use some hardcoded values in my code which I would like to make
> accessible through GUC. After much googling the only relative pages I
> have found is about configuring existing PostgreSQL variables. Can
> anybody please provide some help? How can I add some new configuration
> variables using GUC?
>
> Thanks in advance,

Are you looking for custom variable classes?

http://www.postgresql.org/docs/8.4/interactive/runtime-config-custom.htm
l

--
    Robert...

pgsql-general by date:

Previous
From: Samuel Gilbert
Date:
Subject: COPY statement REAL vs VARCHAR precision issue
Next
From: "Joshua D. Drake"
Date:
Subject: Cross Pollination is a wonderful thing