pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedquery buffer max length of 16384 exceeded
3+ messages / 2 participants
[nested] [flat]
* query buffer max length of 16384 exceeded
@ 2000-06-12 08:25 Rainer Mager <rmager@vgkk.com>
2000-06-13 01:54 ` RE: query buffer max length of 16384 exceeded Rainer Mager <rmager@vgkk.com>
0 siblings, 1 reply; 3+ messages in thread
From: Rainer Mager @ 2000-06-12 08:25 UTC (permalink / raw)
To: pgsql-admin
Hi all,
I would expect this to be a FAQ but I can't find anything in the docs or on
the net. I'm trying to restore a pg_dumped database (via "psql <
databasefile") and get this error:
query buffer max length of 16384 exceeded
Is there anyway to adjust this buffer (preferrably without rebuilding PG)?
Or is there a better way to restore a database?
Thanks,
--Rainer
^ permalink raw reply [nested|flat] 3+ messages in thread
* RE: query buffer max length of 16384 exceeded
2000-06-12 08:25 query buffer max length of 16384 exceeded Rainer Mager <rmager@vgkk.com>
@ 2000-06-13 01:54 ` Rainer Mager <rmager@vgkk.com>
0 siblings, 0 replies; 3+ messages in thread
From: Rainer Mager @ 2000-06-13 01:54 UTC (permalink / raw)
To: pgsql-admin
Well, I fixed my problem. I'm sure everyone already knows this but if you
use the -d flag to pg_dump (Dump data as proper insert strings) then it
doesn't use the COPY command to insert data. Hence no HUGE strings to exceed
the buffer. Using this flag helped.
--Rainer
^ permalink raw reply [nested|flat] 3+ messages in thread
* RE: query buffer max length of 16384 exceeded
@ 2000-06-12 13:18 Michael Ansley <Michael.Ansley@intecsystems.co.uk>
0 siblings, 0 replies; 3+ messages in thread
From: Michael Ansley @ 2000-06-12 13:18 UTC (permalink / raw)
To: 'Rainer Mager' <rmager@vgkk.com>; pgsql-admin
I assume that you have a version prior to 7.0. The only way to increase
this would be to increate your block size, recompile, and initdb. If you
are using 7.0 or above, this is not an issue, as the limit has been removed.
Cheers...
MikeA
>> -----Original Message-----
>> From: Rainer Mager [mailto:rmager@vgkk.com]
>> Sent: 12 June 2000 09:26
>> To: pgsql-admin@postgresql.org
>> Subject: [ADMIN] query buffer max length of 16384 exceeded
>>
>>
>> Hi all,
>>
>> I would expect this to be a FAQ but I can't find
>> anything in the docs or on
>> the net. I'm trying to restore a pg_dumped database (via "psql <
>> databasefile") and get this error:
>>
>> query buffer max length of 16384 exceeded
>>
>> Is there anyway to adjust this buffer (preferrably without
>> rebuilding PG)?
>> Or is there a better way to restore a database?
>>
>>
>> Thanks,
>>
>> --Rainer
>>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2000-06-13 01:54 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-06-12 08:25 query buffer max length of 16384 exceeded Rainer Mager <rmager@vgkk.com>
2000-06-13 01:54 ` Rainer Mager <rmager@vgkk.com>
2000-06-12 13:18 RE: query buffer max length of 16384 exceeded Michael Ansley <Michael.Ansley@intecsystems.co.uk>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox