From: | KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | [BUG] pg_ctl restart at the vanilla v8.3.4 |
Date: | 2008-09-30 08:36:36 |
Message-ID: | 48E1E514.6030901@ak.jp.nec.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
When I run "pg_ctl restart" of the vanilla pgsql-8.3.4 without any options,
it does not work correctly.
-------- cut here --------
[kaigai(at)saba postgresql-8.3.4]$ ./root/bin/pg_ctl restart
LOG: received smart shutdown request
LOG: autovacuum launcher shutting down
waiting for server to shut down....LOG: shutting down
LOG: database system is shut down
done
server stopped
sh: -c: line 0: syntax error near unexpected token `null'
sh: -c: line 0: `"/home/kaigai/tmp/postgresql-8.3.4/root/bin/postgres" (null) < "/dev/null" 2>&1 &'
pg_ctl: could not start server: exit code was 512
[kaigai(at)saba postgresql-8.3.4]$
--------------------------
On pgsql-8.3.3, an empty string ("") is set to post_opts at read_post_opts()
when no command line options are given, but this code has gone at v8.3.4 and
NULL is remained.
This variable is used to make an argument of system() at start_postmaster(),
then /bin/sh claims it due to invalid command line.
Thanks,
--
OSS Platform Development Division, NEC
KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>
From | Date | Subject | |
---|---|---|---|
Next Message | Gurjeet Singh | 2008-09-30 08:43:23 | Index size increases after VACUUM FULL |
Previous Message | Abbas | 2008-09-30 07:39:43 | Re: [REVIEW] Prototype: In-place upgrade v02 |