Re: GUC patch for Win32

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: GUC patch for Win32
Date: 2003-05-08 13:59:50
Message-ID: 19867.1052402390@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

I said:
> That way the file never changes after postmaster start and there can
> be no race condition. Children will instead have to read
> postgresql.conf for themselves during their launch (after they read the
> nondefault_variables file), but that's an easy one-line addition.

On second thought, that just moves the race condition upstream (to the
person editing postgresql.conf) ... so never mind that idea. We don't
want any part of Postgres reading postgresql.conf except shortly after
someone has SIGHUP'd the postmaster.

But I'm still wondering if the order of operations in SIGHUP_handler is
wrong.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Jan Wieck 2003-05-08 15:40:19 Re: GUC patch for Win32
Previous Message Tom Lane 2003-05-08 13:48:01 Re: GUC patch for Win32