Re: [GENERAL] Buffer Sizes - Mailing list pgsql-general

From Ross J. Reedstrom
Subject Re: [GENERAL] Buffer Sizes
Date
Msg-id 19990722213413.A7152@wallace.ece.rice.edu
Whole thread Raw
In response to Re: [GENERAL] Buffer Sizes  ("Michael Yeung" <michaely@alphanet.net.au>)
List pgsql-general
On Fri, Jul 23, 1999 at 10:25:04AM +1000, Michael Yeung wrote:
> Hi,
>
> The Error when reloading the database is :
>
> "query buffer max length of 20000 exceeded"
> "query line ignored"
>

Ah, if I remember correctly, the 6.3->6.4 upgrade required dumping the old db
with the _new_ pg_dumpall, otherwise it'd throw and error while reloading.
What usually happens to me when I do something like that is the error flys by,
then the rest of the file gets taken as a really long, badly formed query.

I assume your doing something like:

psql template1 <dump_all_6.3.sql

try something like (this is for a bash shell: season to taste for csh)

psql -e template1 <dump_all_6.3.sql | less 2>&1

then in the pager, search for ERROR

Ross
--
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu>
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St.,  Houston, TX 77005

pgsql-general by date:

Previous
From: "Michael Yeung"
Date:
Subject: Re: [GENERAL] Buffer Sizes
Next
From: "Hub.Org News Admin"
Date:
Subject: ...