Re: psql problem

From: Ireneusz Pluta <ipluta(at)wp(dot)pl>
To: Gary Fu <gary(dot)fu(at)sigmaspace(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: psql problem
Date: 2010-07-25 05:59:03
Message-ID: 4C4BD2A7.3060806@wp.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gary Fu pisze:
>
> I have a script to create a table with some comments in front. When I
> use the command 'psql -f script.sql' to load it, it hangs. However,
> if I remove the comments, OR remove some of the columns from the
> table, it works okay. It looks like to me, the psql will hang with
> large size of the script file. I tried 'psql < script.sql' and 'cat
> script.sql | psql' with the same result.
>
you may eventually track the progress more verbosely with -a switch to
psql and this way isolate the part where it hangs

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Harald Fuchs 2010-07-25 09:28:33 Re: Prefix LIKE search and indexes issue.
Previous Message Craig Ringer 2010-07-25 05:07:09 Re: Question about SCO openserver and postgres...