Thread: 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
From
Bill Moran
Date:
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.
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
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
From
Tom Lane
Date:
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