On Sunday, March 23, 2025, Pavel Stehule <pavel.steh...@gmail.com> wrote:

> Hi
>
> ne 23. 3. 2025 v 19:31 odesílatel Igor Korot <ikoro...@gmail.com> napsal:
>
>> Hi,
>>
>> [code]
>> SELECT current_setting('server_version_num')::int > 130000 as v13
>>
>

> SELECT current_setting('server_version_num')::int > =140000 as v14
>

IOW, you can’t use >130000 because that will match v13.1 which is 130001 in
integer format.

David J.

Reply via email to