Re: TRAP during backend startup
От | Bruce Momjian |
---|---|
Тема | Re: TRAP during backend startup |
Дата | |
Msg-id | 200404071853.i37IrMt02428@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: TRAP during backend startup (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
Tom Lane wrote: > Grant Finnemore <grantf@guruhut.co.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@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
В списке pgsql-hackers по дате отправления: