psql hanging

From: "David J(dot) Trombley" <dtrom(at)bumba(dot)net>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: psql hanging
Date: 2002-10-29 18:51:17
Message-ID: 3DBED8A5.5000406@bumba.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I'm running 7.2.2 on x86 linux, and trying to execute a very large
(200Mb or so) sql script by cat'ing it to psql.

After about 2000 lines, psql hangs.

An strace yields the following output after the process is in the
hung state:

rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigaction(SIGINT, {0x804d528, [], SA_RESTART|0x4000000},
{0x804d528, [], SA_RESTART|0x4000000}, 8) = 0

over and over again.

After I kill the process, the server doesn't need to be restarted
for a new psql instance to function; it seems just this
conenction/process is messed up.

Any ideas?

-dj

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Garrett Bladow 2002-10-29 19:00:39 Re: Stream data into Postgres via Perl
Previous Message Afra 2002-10-29 18:46:30 Re: EXPLAIN times