Re: [HACKERS] MAX Query length

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: "Ansley, Michael" <Michael(dot)Ansley(at)intec(dot)co(dot)za>
Cc: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] MAX Query length
Date: 1999-07-14 15:02:23
Message-ID: 199907141502.LAA22817@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 1999-07-14 15:03:57 Re: 6.5.1 release
Previous Message Bruce Momjian 1999-07-14 15:01:42 Re: [HACKERS] Updated TODO list