Mention of PG 14 in docs

Поиск
Список
Период
Сортировка
Искать

Mention of PG 14 in docs

От:
Bruce Momjian <bruce@momjian.us>
Дата:
In patch "Handle equality operator in contrib/pg_trgm" (935f66665), I
see this text:

-->	~ and ~* queries.  Beginning in
-->	PostgreSQL 14, these indexes also support
	equality operator (simple comparison operators are not supported).
	Note that those indexes may not be as efficient as regular B-tree indexes
	for equality operator.

As far as I know, we don't usually mention what version _added_ a
feature like this.  I suggest the PG 14 mention be removed.

-- 
  Bruce Momjian          https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.



Re: Mention of PG 14 in docs

От:
Bruce Momjian <bruce@momjian.us>
Дата:
On Mon, May  3, 2021 at 07:49:14PM -0400, Bruce Momjian wrote:
> In patch "Handle equality operator in contrib/pg_trgm" (935f66665), I
> see this text:
> 
> -->	~ and ~* queries.  Beginning in
> -->	PostgreSQL 14, these indexes also support
> 	equality operator (simple comparison operators are not supported).
> 	Note that those indexes may not be as efficient as regular B-tree indexes
> 	for equality operator.
> 
> As far as I know, we don't usually mention what version _added_ a
> feature like this.  I suggest the PG 14 mention be removed.

Also, what does "simple comparison operators are not supported" mean?

-- 
  Bruce Momjian          https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.



Re: Mention of PG 14 in docs

От:
Bruce Momjian <bruce@momjian.us>
Дата:
On Mon, May  3, 2021 at 08:10:24PM -0400, Bruce Momjian wrote:
> On Mon, May  3, 2021 at 07:49:14PM -0400, Bruce Momjian wrote:
> > In patch "Handle equality operator in contrib/pg_trgm" (935f66665), I
> > see this text:
> > 
> > -->	~ and ~* queries.  Beginning in
> > -->	PostgreSQL 14, these indexes also support
> > 	equality operator (simple comparison operators are not supported).
> > 	Note that those indexes may not be as efficient as regular B-tree indexes
> > 	for equality operator.
> > 
> > As far as I know, we don't usually mention what version _added_ a
> > feature like this.  I suggest the PG 14 mention be removed.
> 
> Also, what does "simple comparison operators are not supported" mean?

Please ignore this second question since is has been fixed by:

	Author: Alexander Korotkov 
	2020-11-16 [7adb8feb0] Reword 'simple comparison' => 'inequality' in pgtrgm.sgm
	
	Reword 'simple comparison' => 'inequality' in pgtrgm.sgml
	
	Discussion: https://postgr.es/m/CAMkU%3D1zxfA8_MGBW6sJMj54p8nPoe4bMb5LoG-rMYZVPq4j08Q%40mail.gmail.com
	Author: Jeff Janes

The first question about PG 14 is still valid.

-- 
  Bruce Momjian          https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.



Re: Mention of PG 14 in docs

От:
Alexander Korotkov <aekorotkov@gmail.com>
Дата:
Вложения:
Hi, Bruce!

On Tue, May 4, 2021 at 2:49 AM Bruce Momjian  wrote:
> In patch "Handle equality operator in contrib/pg_trgm" (935f66665), I
> see this text:
>
> -->     ~ and ~* queries.  Beginning in
> -->     PostgreSQL 14, these indexes also support
>         equality operator (simple comparison operators are not supported).
>         Note that those indexes may not be as efficient as regular B-tree indexes
>         for equality operator.
>
> As far as I know, we don't usually mention what version _added_ a
> feature like this.  I suggest the PG 14 mention be removed.

I agree with this.  Thank you for pointing.  Are you OK with the attached patch?

------
Regards,
Alexander Korotkov

Re: Mention of PG 14 in docs

От:
Bruce Momjian <bruce@momjian.us>
Дата:
On Tue, May  4, 2021 at 03:51:51AM +0300, Alexander Korotkov wrote:
> Hi, Bruce!
> 
> On Tue, May 4, 2021 at 2:49 AM Bruce Momjian  wrote:
> > In patch "Handle equality operator in contrib/pg_trgm" (935f66665), I
> > see this text:
> >
> > -->     ~ and ~* queries.  Beginning in
> > -->     PostgreSQL 14, these indexes also support
> >         equality operator (simple comparison operators are not supported).
> >         Note that those indexes may not be as efficient as regular B-tree indexes
> >         for equality operator.
> >
> > As far as I know, we don't usually mention what version _added_ a
> > feature like this.  I suggest the PG 14 mention be removed.
> 
> I agree with this.  Thank you for pointing.  Are you OK with the attached patch?

Yes, sure.

-- 
  Bruce Momjian          https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.



Re: Mention of PG 14 in docs

От:
Alexander Korotkov <aekorotkov@gmail.com>
Дата:
On Tue, May 4, 2021 at 3:55 AM Bruce Momjian  wrote:
> On Tue, May  4, 2021 at 03:51:51AM +0300, Alexander Korotkov wrote:
> > Hi, Bruce!
> >
> > On Tue, May 4, 2021 at 2:49 AM Bruce Momjian  wrote:
> > > In patch "Handle equality operator in contrib/pg_trgm" (935f66665), I
> > > see this text:
> > >
> > > -->     ~ and ~* queries.  Beginning in
> > > -->     PostgreSQL 14, these indexes also support
> > >         equality operator (simple comparison operators are not supported).
> > >         Note that those indexes may not be as efficient as regular B-tree indexes
> > >         for equality operator.
> > >
> > > As far as I know, we don't usually mention what version _added_ a
> > > feature like this.  I suggest the PG 14 mention be removed.
> >
> > I agree with this.  Thank you for pointing.  Are you OK with the attached patch?
>
> Yes, sure.

Perfect, pushed.

------
Regards,
Alexander Korotkov


FAQ