Re: [GENERAL] query buffer max length of 16384 exceeded

From: Ed Loehr <ELOEHR(at)austin(dot)rr(dot)com>
To: pawel <pgajer(at)chow(dot)mat(dot)jhu(dot)edu>
Cc: pgsql-general(at)hub(dot)org
Subject: Re: [GENERAL] query buffer max length of 16384 exceeded
Date: 1999-12-18 04:45:12
Message-ID: 385B1158.1B5199BE@austin.rr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I've seen this a few times. It usually results from an unescaped
embedded apostrophe, e.g.,

INSERT INTO ybsc_note (rem) VALUES ('This don't work 'cuz there ain't no
escapes or backslashes around my single quotes.');

Cheers,
Ed Loehr

pawel wrote:

> Hi,
> I have a problem with populating the following table
>
> CREATE TABLE ybsc_note -- The Bright Star Catalogue Notes
> ( nid int NOT NULL, -- local id
> ybscid int NOT NULL, -- YBSC id number
> cat char(4), -- Category
> rem char(120), -- Remark
> primary key(nid)
> );
>
> note that rem field is char(120), so it is relatively big.
> After inserting about 266 entries into this table I am getting the
> error message:
>
> > query buffer max length of 16384 exceeded
>
> Do you know how can I chang the size of the query buffer or do
> something else to fix this problem?
>
> thanks a lot
> pawel
>
> ************

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Postgres User 1999-12-18 09:47:39 Install on Caldera 2.2.5
Previous Message Bruce Momjian 1999-12-18 03:56:03 Re: [GENERAL] hash taboo?