On Sunday, March 23, 2025, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
> Hi
>
> ne 23. 3. 2025 v 19:31 odesílatel Igor Korot <ikorot01(at)gmail(dot)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.