Re: Add a function to get the version of installed extension

2025-03-31 Thread Yugo NAGATA
On Sun, 2 Feb 2025 00:15:25 -0500 Tom Lane wrote: > Yugo Nagata writes: > > This might be avoidable if the binary is made carefully to check the > > existing > > of objects, but I think it is useful if an extension module function can > > check > > the current extension version. So, I would li

Re: Add a function to get the version of installed extension

2025-02-01 Thread Tom Lane
Yugo Nagata writes: > This might be avoidable if the binary is made carefully to check the existing > of objects, but I think it is useful if an extension module function can check > the current extension version. So, I would like to propose a new function to > return the current extension version

Add a function to get the version of installed extension

2025-01-20 Thread Yugo Nagata
Hi, When an extension module is updated, first the new binary is installed, then ALTER EXTENSION UPDATE is executed to create or modify SQL objects. Between these two steps, users could see an error, or in worst case segfalut, during a query execution due to the lack or incompatibility of SQL objec