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

Started by Bill Moranabout 19 years ago4 messages
#1Bill Moran
wmoran@collaborativefusion.com

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.

#2Andrew Dunstan
andrew@dunslane.net
In reply to: Bill Moran (#1)
Re: What's the difference between postgresql.conf.sample

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

#3Bill Moran
wmoran@collaborativefusion.com
In reply to: Andrew Dunstan (#2)
Re: What's the difference between postgresql.conf.sample

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.

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bill Moran (#1)
Re: What's the difference between postgresql.conf.sample and postgresql.conf.sample.orig

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