Hi, Martin,

Martin Pitt wrote:

>>I used to have this setting in the init.d scripts, but as an apt-get
>>upgrade overwrote this file, I was told to use postmaster.env instead. I
>>don't remember whether there was an official bug filing, or this was
>>private email.
> 
> I did never see that bug, so maybe it was in a private email to Oliver
> Elphick?

Well, I searched my mail archive, and it was a side discussion in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=284364

I also mis-remembered: It was postmaster.conf that was advised, and this
is what we used on most machines. I don't know where the .env slipped in.

>>As a workaround until all 7.4 databases are migrated, I just want to
>>know the right place where to hack in this environment variable, so the
>>postmaster process can access it.
> 
> As far as I can see, an equivalent to the old postgresql.env file
> seems to make sense and would also offer a transition path for the old
> /etc/postgresql/postgresql.env file. So if postgresql-common would
> support /etc/postgresql/version/cluster/environment, then you could
> add these variables there, and the transitional postgresql package
> could move postgresql.env there.
> 
> Do you agree?

Yes, this would solve my problem.

Thanks,
Markus

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to