agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Paul M. Aoki <aoki@cs.berkeley.edu>
To: Raj Vadakkencherry <raj@CS.UCLA.EDU>
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: Failure of append
Date: Mon, 26 Sep 94 12:39:25 -0700
Message-ID: <199409261939.MAA00985@faerie.CS.Berkeley.EDU> (raw)
In-Reply-To: <9409261752.AA12694@oahu.cs.ucla.edu>

raj@CS.UCLA.EDU (Raj Vadakkencherry) writes:
>  I'm using libpq calls to append to a database. (PQexec("append ...")).
>  The append string passed to PQexec is rather long at times: 15000 chars
>  or more. (it is a string of approx. 1000 points, each point represented
>  as in 15 chars)
>  For such strings, the append fails.

the parser seems to have some buffers that are currently hardwired to
8KB.  look for "8192" in tmp/miscadmin.h and parser/scan.l and bump
those up to something larger.
--
  Paul M. Aoki          |  University of California at Berkeley
  aoki@CS.Berkeley.EDU  |  Dept. of EECS, Computer Science Division (#1776) 
                        |  Berkeley, CA 94720-1776

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: aoki@cs.berkeley.edu, raj@CS.UCLA.EDU
  Subject: Re: Failure of append
  In-Reply-To: <199409261939.MAA00985@faerie.CS.Berkeley.EDU>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox