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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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