Re: [BUGS] initdb fails on ultra2 sparc64, freebsd 5.4

2005-05-23 Thread Andrew - Supernews
On 2005-05-21, Tom Lane <[EMAIL PROTECTED]> wrote: > Andrew - Supernews <[EMAIL PROTECTED]> writes: >> On 2005-05-21, Tom Lane <[EMAIL PROTECTED]> wrote: >>> initdb does not use libpq ... it might link to it, > >> Linking to it is enough to bring in libc_r, and pick up libc_r's versions >> of at le

Re: [BUGS] initdb fails on ultra2 sparc64, freebsd 5.4

2005-05-20 Thread Tom Lane
Andrew - Supernews <[EMAIL PROTECTED]> writes: > On 2005-05-21, Tom Lane <[EMAIL PROTECTED]> wrote: >> initdb does not use libpq ... it might link to it, > Linking to it is enough to bring in libc_r, and pick up libc_r's versions > of at least some system calls. The ktrace results show this. [ sh

Re: [BUGS] initdb fails on ultra2 sparc64, freebsd 5.4

2005-05-20 Thread Andrew - Supernews
On 2005-05-21, Tom Lane <[EMAIL PROTECTED]> wrote: > Andrew - Supernews <[EMAIL PROTECTED]> writes: >> The reason for the hang is that the sending end of the pipe from initdb >> to postgres is not being closed by popen(), so postgres never sees EOF >> on it. In this context I am suspicious of the f

Re: [BUGS] initdb fails on ultra2 sparc64, freebsd 5.4

2005-05-20 Thread Tom Lane
Andrew - Supernews <[EMAIL PROTECTED]> writes: > The reason for the hang is that the sending end of the pipe from initdb > to postgres is not being closed by popen(), so postgres never sees EOF > on it. In this context I am suspicious of the fact that while libpq is > being built with threading, th

Re: [BUGS] initdb fails on ultra2 sparc64, freebsd 5.4

2005-05-20 Thread Andrew - Supernews
On 2005-05-13, Tom Lane <[EMAIL PROTECTED]> wrote: > David Walker <[EMAIL PROTECTED]> writes: >> On a Sun ultra2 sparc64 initdb hangs here: > > Where's "here"? Build with --enable-debug, then attach to the stuck > process with gdb and get a stack trace. I've just done some analysis on this on Dav

Re: [BUGS] initdb fails on ultra2 sparc64, freebsd 5.4

2005-05-16 Thread David Walker
On a Sun ultra2 sparc64 initdb hangs. cpu0: Sun Microsystems UltraSparc-I Processor (200.00 MHz CPU) $ initdb -D /usr/local/pgsql/data The files belonging to this database system will be owned by user "pgsql". This user must also own the server process. The database cluster will be initialized wi

Re: [BUGS] initdb fails on ultra2 sparc64, freebsd 5.4

2005-05-12 Thread Tom Lane
David Walker <[EMAIL PROTECTED]> writes: > On a Sun ultra2 sparc64 initdb hangs here: Where's "here"? Build with --enable-debug, then attach to the stuck process with gdb and get a stack trace. regards, tom lane ---(end of broadcast)--

[BUGS] initdb fails on ultra2 sparc64, freebsd 5.4

2005-05-12 Thread David Walker
On a Sun ultra2 sparc64 initdb hangs here: $ initdb -D /usr/local/pgsql/data The files belonging to this database system will be owned by user "pgsql". This user must also own the server process. The database cluster will be initialized with locale C. creating directory /usr/local/pgsql/data ...