From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Grant Finnemore <grantf(at)guruhut(dot)co(dot)za>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: TRAP during backend startup |
Date: | 2004-04-07 18:53:22 |
Message-ID: | 200404071853.i37IrMt02428@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> Grant Finnemore <grantf(at)guruhut(dot)co(dot)za> writes:
> > After an installation from CVS tip, I start the postmaster with the
> > -d(anything) flag. The postmaster starts up normally. I then try to
> > connect using psql, and either a TRAP is triggered (not using -A 0)
> > or an invalid cache id is found (using -A 0)
>
> The backtrace points the finger at Bruce's recent changes in guc.c:
> he is trying to call superuser() before the data is available. Bruce,
> please fix or revert.
OK, I moved superuser() back down to the bottom of the if() statement
tree. I had moved it up in the patch in hopes of reducing code
duplication, but obviously that didn't work.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-04-07 18:57:53 | Re: locale |
Previous Message | Bruce Momjian | 2004-04-07 18:42:40 | Re: locale |