Обсуждение: What's the difference between postgresql.conf.sample and postgresql.conf.sample.orig

Поиск
Список
Период
Сортировка

What's the difference between postgresql.conf.sample and postgresql.conf.sample.orig

От
Bill Moran
Дата:
I see the above-mentioned files in src/backend/utils/misc.  A diff shows
the following:

$ diff postgresql.conf.sample.orig postgresql.conf.sample
223a224
> log_destination = 'syslog'
302a304
> silent_mode = on
363a366,367
> 
> autovacuum = on

What's the purpose of postgresql.conf.sample.orig?

I'm adding a GUC variable to submit a patch to allow tracing temp file
usage.  Do I need to add it to both?

-- 
Bill Moran
Collaborative Fusion Inc.


Re: What's the difference between postgresql.conf.sample

От
Andrew Dunstan
Дата:
Bill Moran wrote:
> I see the above-mentioned files in src/backend/utils/misc.  A diff shows
> the following:
>
> $ diff postgresql.conf.sample.orig postgresql.conf.sample
> 223a224
>   
>> log_destination = 'syslog'
>>     
> 302a304
>   
>> silent_mode = on
>>     
> 363a366,367
>   
>> autovacuum = on
>>     
>
> What's the purpose of postgresql.conf.sample.orig?
>
> I'm adding a GUC variable to submit a patch to allow tracing temp file
> usage.  Do I need to add it to both?
>
>   

My copy does not have any such file. Are you working on CVS HEAD?

cheers

andrew


Re: What's the difference between postgresql.conf.sample

От
Bill Moran
Дата:
In response to Andrew Dunstan <andrew@dunslane.net>:

> Bill Moran wrote:
> > I see the above-mentioned files in src/backend/utils/misc.  A diff shows
> > the following:
> >
> > $ diff postgresql.conf.sample.orig postgresql.conf.sample
> > 223a224
> >   
> >> log_destination = 'syslog'
> >>     
> > 302a304
> >   
> >> silent_mode = on
> >>     
> > 363a366,367
> >   
> >> autovacuum = on
> >>     
> >
> > What's the purpose of postgresql.conf.sample.orig?
> >
> > I'm adding a GUC variable to submit a patch to allow tracing temp file
> > usage.  Do I need to add it to both?
> 
> My copy does not have any such file. Are you working on CVS HEAD?

Whups ... my mistake, the FreeBSD port includes a patch against
postgresql.conf.sample, and the *.orig is the cruft left behind.

Thanks for the quick reply.

-- 
Bill Moran
Collaborative Fusion Inc.


Re: What's the difference between postgresql.conf.sample and postgresql.conf.sample.orig

От
Tom Lane
Дата:
Bill Moran <wmoran@collaborativefusion.com> writes:
> What's the purpose of postgresql.conf.sample.orig?

There is no such file in CVS ... perhaps it's left over from a patch run?
        regards, tom lane