On Tue, 26 Feb 2019 at 17:38, Andres Freund <and...@anarazel.de> wrote:

> Hi,
>
> On 2019-02-26 12:57:14 +0000, Simon Riggs wrote:
> > On Tue, 26 Feb 2019 at 12:19, Fabien COELHO <coe...@cri.ensmp.fr> wrote:
> > I've put it as 256 args now.
> >
> > The overhead of that is about 2kB, so not really an issue.
>
> Why not just allocate it dynamically? Seems weird to have all these
> MAX_ARGS, MAX_SCRIPTS ... commands.


For me, its a few minutes work to correct a problem and report to the
community.

Dynamic allocation, run-time errors is all getting too time consuming for a
small thing.


> The eighties want their constants back ;)
>

Made me smile, thanks. ;-)

-- 
Simon Riggs                http://www.2ndQuadrant.com/
<http://www.2ndquadrant.com/>
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Reply via email to