Solaris 2.6 problems

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Cc: t-ishii(at)sra(dot)co(dot)jp
Subject: Solaris 2.6 problems
Date: 2000-05-24 09:28:25
Message-ID: 20000524182825G.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, I have encountered a really strange problem with PostgreSQL 7.0 on
Solaris 2.6/Sparc. The problem is that createdb command or create
database SQL always fails. Inspecting the output of truss shows that
system() call in createdb() (commands/dbcomand.c) fails because
waitid() system call in system() returns error no. 10 (ECHILD).

This problem was not in 6.5.3, so I checked the source of it. The
reason why 6.5.3's createdb worked was that it just ignored the return
code of system()!

It seems that we need to ignore an error from system() if the error is
ECHILD on Solaris.

Any idea?

BTW, I have compiled PostgreSQL with egcs 2.95 with/without
optimization.
--
Tatsuo Ishii

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alfred Perlstein 2000-05-24 09:43:07 Re: yowch: dumpRules(): SELECT failed for table website.
Previous Message SL Baur 2000-05-24 09:19:33 Re: yowch: dumpRules(): SELECT failed for table website.