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: (view raw, whole thread or download thread mbox)
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

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

Tatsuo Ishii

[]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`; \
rm -f bench.out bench.out.perquery
/bin/sh ./ $PGDATA && \
/bin/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

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-2017 The PostgreSQL Global Development Group