> [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




---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to