Re: Escaping the ARC patent - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Escaping the ARC patent
Date
Msg-id 17784.1107554527@sss.pgh.pa.us
Whole thread Raw
In response to Re: Escaping the ARC patent  ("Jim C. Nasby" <decibel@decibel.org>)
Responses Re: Escaping the ARC patent  (Philip Warner <pjw@rhyme.com.au>)
List pgsql-hackers
"Jim C. Nasby" <decibel@decibel.org> writes:
> I think it would be useful to have a means to adjust the queue sizes
> dynamically from a database connection. If the optimum queue sizes
> depend on the workload this would allow things like batch processes to
> tweak the queue sizes for better performance when they're running.

That strikes me as a bad idea --- what will cause the queue size to
revert to normal, if the batch process fails before resetting it?

In any case, the only mechanism we have available for such things is
modifying postgresql.conf and then SIGHUPping the postmaster; there is
no other way to adjust a parameter that all backends must see as having
the same value.  So even if we invent a GUC parameter for this, it's not
going to be something your batch process can lightly fool around with.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: libpq API incompatibility between 7.4 and 8.0
Next
From: pgsql@mohawksoft.com
Date:
Subject: Query optimizer 8.0.1 (and 8.0)