BUG #3503: Benchmark scripts broken

Started by Justin Hibbitsover 18 years ago2 messagesbugs
Jump to latest
#1Justin Hibbits
justin.hibbits@baesystems.com

The following bug has been logged online:

Bug reference: 3503
Logged by: Justin Hibbits
Email address: justin.hibbits@baesystems.com
PostgreSQL version: 8.2.4
Operating system: Linux
Description: Benchmark scripts broken
Details:

It appears that the benchmark script src/test/bench/create.sh is broken, in
that it tries to execute "postgres -D${1} postgres", which is invalid
according to postgres.

#2Bruce Momjian
bruce@momjian.us
In reply to: Justin Hibbits (#1)
Re: BUG #3503: Benchmark scripts broken

Justin Hibbits wrote:

The following bug has been logged online:

Bug reference: 3503
Logged by: Justin Hibbits
Email address: justin.hibbits@baesystems.com
PostgreSQL version: 8.2.4
Operating system: Linux
Description: Benchmark scripts broken
Details:

It appears that the benchmark script src/test/bench/create.sh is broken, in
that it tries to execute "postgres -D${1} postgres", which is invalid
according to postgres.

Fixed in several place, e.g.:

echo "drop database bench" | postgres -D"$1" postgres > /dev/null

This fix will be in 8.3.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +