Re: [PERFORM] rapid degradation after postmaster restart

Поиск
Список
Период
Сортировка
От Matthew T. O'Connor
Тема Re: [PERFORM] rapid degradation after postmaster restart
Дата
Msg-id 12158.192.154.91.225.1079452206.squirrel@matth.zeut.net
обсуждение исходный текст
Ответ на Re: [PERFORM] rapid degradation after postmaster restart  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
> [moving to hackers]
>
> Line 681 is this:
>    sprintf(logbuffer, "dbname: %s Username %s Passwd %s",
>                        dbi->dbname, dbi->username, dbi->password);
>
> It appears that dbi->password is a null pointer:
> (gdb) print dbi->dbname
> $1 = 0x25f68 "template1"
> (gdb) print dbi->username
> $2 = 0x25b20 "dba"
> (gdb) print dbi->password
> $3 = 0x0
>
> Problem is, since this is a development machine, they have everything
> set to "trust" in pg_hba.conf. I added a "-P foo" to the command line,
> and it starts up fine now.

Ok, that is about what I figured the problem would be.  I will try to take
a look at this soon and submit a patch.  However since you can work around
it now, can you do another test run with -d2?

Thanks for tracking this down.

Matthew





В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WAL write of full pages
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: WAL write of full pages