Thread: TODO-Item: include for guc

TODO-Item: include for guc

From
Joachim Wieland
Date:
Hi,

the attached patch implements the TODO-item

        o %Add "include file" functionality in postgresql.conf

However I was not able to test it on Windows  :-(

I talked to Peter Eisentraut about how to handle relative file names and his
opinion was that a relative file name should be interpreted to be relative
to the path of the including file, i.e. to the path of the file that
contained the actual "include = other.conf" line. The patch follows this
idea.


Joachim

Attachment

Re: TODO-Item: include for guc

From
Joachim Wieland
Date:
The attached patch is a revised version of the patch I sent in before:

http://archives.postgresql.org/pgsql-patches/2005-12/msg00018.php

The old version did not apply to current CVS anymore and the new one
now also works with flex 2.5.4.

The patch works as proposed by Tom Lane in:

http://archives.postgresql.org/pgsql-patches/2004-06/msg00030.php
(see lower part)


Joachim


Attachment

Re: TODO-Item: include for guc

From
Bruce Momjian
Date:
Previous patch version removed from queue.

---------------------------------------------------------------------------

Joachim Wieland wrote:
> Hi,
>
> the attached patch implements the TODO-item
>
>         o %Add "include file" functionality in postgresql.conf
>
> However I was not able to test it on Windows  :-(
>
> I talked to Peter Eisentraut about how to handle relative file names and his
> opinion was that a relative file name should be interpreted to be relative
> to the path of the including file, i.e. to the path of the file that
> contained the actual "include = other.conf" line. The patch follows this
> idea.
>
>
> Joachim

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faq

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Re: TODO-Item: include for guc

From
Bruce Momjian
Date:
Patch applied.  Thanks.

---------------------------------------------------------------------------


Joachim Wieland wrote:
> The attached patch is a revised version of the patch I sent in before:
>
> http://archives.postgresql.org/pgsql-patches/2005-12/msg00018.php
>
> The old version did not apply to current CVS anymore and the new one
> now also works with flex 2.5.4.
>
> The patch works as proposed by Tom Lane in:
>
> http://archives.postgresql.org/pgsql-patches/2004-06/msg00030.php
> (see lower part)
>
>
> Joachim
>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>                http://archives.postgresql.org

--
  Bruce Momjian   http://candle.pha.pa.us
  SRA OSS, Inc.   http://www.sraoss.com

  + If your life is a hard drive, Christ can be your backup. +