Re: funcs.sgml - wrong example - Mailing list pgsql-hackers

From Tom Lane
Subject Re: funcs.sgml - wrong example
Date
Msg-id 568641.1654094498@sss.pgh.pa.us
Whole thread Raw
In response to Re: funcs.sgml - wrong example  (Justin Pryzby <pryzby@telsasoft.com>)
List pgsql-hackers
Justin Pryzby <pryzby@telsasoft.com> writes:
> On Wed, May 18, 2022 at 03:08:32AM +0200, Erik Rijkers wrote:
>> funcs.sgml  has
>> 42 <@ '{[1,7)}'::int4multirange
>> and calls it true.  The attached fixes that.
>> 
>> Included are two more changes where actual output differs a bit from what
>> the doc examples show.

> This patch is RFC but seems to have been forgotten.
> Feel free to add it to the next CF if nobody applies it.

Pushed now.  I modified that example to 4 <@ '{[1,7)}'::int4multirange
so that it would indeed return true, which is our usual style.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: plperl tests fail with latest Perl 5.36
Next
From: Przemysław Sztoch
Date:
Subject: Re: generate_series for timestamptz and time zone problem