TODO-Item: include for guc

Started by Joachim Wielandover 20 years ago4 messagespatches
Jump to latest
#1Joachim Wieland
joe@mcknight.de

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

Attachments:

includeforguc.difftext/plain; charset=us-asciiDownload+245-161
#2Joachim Wieland
joe@mcknight.de
In reply to: Joachim Wieland (#1)
Re: TODO-Item: include for guc

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

Attachments:

includeforguc.difftext/plain; charset=us-asciiDownload+266-213
#3Bruce Momjian
bruce@momjian.us
In reply to: Joachim Wieland (#1)
Re: TODO-Item: include for guc

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
#4Bruce Momjian
bruce@momjian.us
In reply to: Joachim Wieland (#2)
Re: TODO-Item: include for guc

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. +