Re: Crash on pg_ctl initdb without options

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Crash on pg_ctl initdb without options
Date: 2009-12-14 13:59:30
Message-ID: 1260799170.3553.18.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On mån, 2009-12-14 at 17:25 +0900, Takahiro Itagaki wrote:
> pg_ctl initdb crashes if no options are passed.
> Do we need additional if-null test for pgdata_opt just like post_opts?
>
> $ pg_ctl initdb
> sh: -c: line 0: syntax error near unexpected token `null'
> sh: -c: line 0: `"/usr/local/pgsql/bin/initdb" (null)'
> pg_ctl: database system initialization failed

Oops. Please fix it. :)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-12-14 14:32:25 Re: Hot Standby, release candidate?
Previous Message Fred Janon 2009-12-14 13:50:26 pgAdmin III: timestamp displayed in what time zone?