Re: psql scripts - Mailing list pgsql-general

From Tom Lane
Subject Re: psql scripts
Date
Msg-id 16070.1131552476@sss.pgh.pa.us
Whole thread Raw
In response to psql scripts  (Ian Harding <harding.ian@gmail.com>)
List pgsql-general
Ian Harding <harding.ian@gmail.com> writes:
> That being the case, what could be causing my script to slow to a
> crawl when redirected to psql, but run fine from inside psql with -i?

Readline issue maybe?  Please try this way
    psql -f script.sql
as well as the stdin way; then try both with -n (no readline) added.

Also, what platform is this on, and PG 8.0.whatexactly?

            regards, tom lane

pgsql-general by date:

Previous
From: "codeWarrior"
Date:
Subject: Re: insert on duplicate update?
Next
From: Tino Wildenhain
Date:
Subject: Re: Beyond the 1600 columns limit on windows