Re: [HACKERS] MAX Query length - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] MAX Query length
Date
Msg-id 199907141502.LAA22817@candle.pha.pa.us
Whole thread Raw
In response to MAX Query length  ("Ansley, Michael" <Michael.Ansley@intec.co.za>)
List pgsql-hackers
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> 
> Trawling through the code last night I noticed that:
> #define MAX_QUERY_SIZE (BLCKSZ * 2)
> 
> Is there any conceivable reason why the query length would be dependent on
> the block size?  Or do I just have old source code?

No great reason, but is seems like a good maximum.  This controls the
buffer size on the client and server.  Do you need it larger?

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Updated TODO list
Next
From: Thomas Lockhart
Date:
Subject: Re: 6.5.1 release