On 4/1/26 1:35 PM, Andreas Karlsson wrote:
> On 4/1/26 12:48 PM, Matthias van de Meent wrote:
>> Attached is a patch that allows superusers to update the version() of
>> their running system with a simple SQL call: SELECT
>> pg_update_version(version_num, 'version_short', 'the full version()
>> outout'). Running backends will automatically get updated without
>> impacting their active workloads, and new backends will immediately
>> notice the new version().
>
> Thanks for the patch!
>
> Some small quibbles:
Another thing: What should the return value be? Right now
pgsql_update_version() returns the new value for version_short, but that
feels not that useful and pretty arbitrary. Maybe we should simply have
it return void?
--
Andreas Karlsson
Percona