Re: Per-database and per-user GUC settings

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Per-database and per-user GUC settings
Date: 2002-02-01 17:44:47
Message-ID: 200202011744.g11HilJ14116@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > I agree we should not propagate config changes to children on SIGHUP.
> > The only major question I had was that command-line flags get wiped out
> > by postgresql.conf settings on SIGHUP. I know someone pointed this
> > out but has a solution been proposed? That would surprise any admin.
>
> I think it's desirable and fully intentional. How else would you override
> command-line args without restarting the server? I can see where there
> might be a concern, but in my mind, if you're using command-line arguments
> in permanent setups, you're not trying hard enough.

But right now, our command-line arguments override postgresql.conf only
on startup; if they reload, postgresql.conf overrides command-line args.
Seems very counter-intuitive to me.

I can't think of an acceptable solution so the best one may be to just
remove the command-line args completely.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB SD 2002-02-01 17:48:54 [PATCHES] FAQ_AIX patch for 7.2
Previous Message Peter Eisentraut 2002-02-01 17:40:05 Re: Per-database and per-user GUC settings