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 "Matthew T. O'Connor" <matthew@zeut.net>
> [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
FAQ