Re: Document parameter count limit - Mailing list pgsql-hackers

From Corey Huinker
Subject Re: Document parameter count limit
Date
Msg-id CADkLM=cQuA=3MePctch9SbfP8gohFn9p9hBF0RjB9aDf6GR3yw@mail.gmail.com
Whole thread Raw
In response to Document parameter count limit  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Document parameter count limit
List pgsql-hackers

+    <entry>if you are reading this prepatorily, please redesign your query to use temporary tables or arrays</entry>

I agree with the documentation of this parameter.
I agree with dissuading anyone from attempting to change it
The wording is bordering on snark (however well deserved) and I think the voice is slightly off.

Alternate suggestion:

Queries approaching this limit usually can be refactored to use arrays or temporary tables, thus reducing parameter overhead.

The bit about parameter overhead appeals to the reader's desire for performance, rather than just focusing on "you shouldn't want this".

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Ability to reference other extensions by schema in extension scripts
Next
From: Alvaro Herrera
Date:
Subject: Re: Lock on ShmemVariableCache fields?