Skip site navigation (1) Skip section navigation (2)

HUP signal handling?

From: t-ishii(at)sra(dot)co(dot)jp
To: hackers(at)postgreSQL(dot)org
Subject: HUP signal handling?
Date: 1998-06-22 02:34:41
Message-ID: 199806220234.LAA17288@srapc451.sra.co.jp (view raw or flat)
Thread:
Lists: pgsql-hackers
I have built Jun 20 snapshot on my FreeBSD box. I have tried to run
test/bench and got following result.

ERROR:  destroydb: database bench does not exist.

This is normal. Problem is the make command is aborted by a signal. My
guesss is elog(ERROR) raises HUP signal, but for some reason nobody
catches it.  Here is the place the problem occurs in runwisc.sh:

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

Comments?
--
Tatsuo Ishii
t-ishii(at)sra(dot)co(dot)jp

[srapc451.sra.co.jp]t-ishii{107} gmake all runtest
if [ -z "$USER" ]; then USER=$LOGNAME; fi; \
if [ -z "$USER" ]; then USER=`whoami`; fi; \
if [ -z "$USER" ]; then echo 'Cannot deduce $USER.'; exit 1; fi; \
rm -f create.sql; \
C=`pwd`; \
sed -e "s:_CWD_:$C:g" \
    -e "s:_OBJWD_:$C:g" \
    -e "s:_SLSUFF_::g" \
    -e "s/_USER_/$USER/g" < create.source > create.sql
x=1; \
for i in `ls query[0-9][0-9]`; do \
  echo "select $x as x" >> bench.sql; \
  cat $i >> bench.sql; \
  x=`expr $x + 1`; \
done
rm -f bench.out bench.out.perquery
/bin/sh ./create.sh $PGDATA && \
/bin/sh ./runwisc.sh $PGDATA >bench.out 2>&1
=============== destroying old bench database... =================
ERROR:  destroydb: database bench does not exist.
ERROR:  destroydb: database bench does not exist.
gmake: *** [bench.out] Hangup
Hangup

pgsql-hackers by date

Next:From: Enrico CantuDate: 1998-06-22 03:03:59
Subject: spam
Previous:From: Bruce MomjianDate: 1998-06-22 02:05:03
Subject: Re: [HACKERS] linux-elf-ppc template?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group