Re: New pg_lsn type doesn't have hash/btree opclasses

From: Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>, Craig Ringer <craig(at)2ndquadrant(dot)com>
Subject: Re: New pg_lsn type doesn't have hash/btree opclasses
Date: 2014-05-09 23:57:58
Message-ID: CAFcNs+o2oUKfa5Vy=HX=TBOLUb5mjoAjrhT7x-F4R3G6r1zZhw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 9, 2014 at 10:18 AM, Andres Freund <andres(at)2ndquadrant(dot)com>
wrote:
>
> On 2014-05-09 22:14:25 +0900, Michael Paquier wrote:
> > On Fri, May 9, 2014 at 10:01 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
wrote:
> > > +DATA(insert OID = 3260 ( 403 pglsn_ops PGNSP PGUID
));
> > > +DATA(insert OID = 3261 ( 405 pglsn_ops PGNSP PGUID
));
> > >
> > > The patch looks good to me except the name of index operator class.
> > > I think that "pg_lsn_ops" is better than "pglsn_ops" because it's for
"pg_lsn"
> > > data type.
> > Well, yes... Btw, before doing anything with this patch, I think that
> > the version of Fabrizio could be used as a base, but the regression
> > tests should be reshuffled a bit...
>
> I honestly don't really see much point in the added tests. If at all I'd
> rather see my tests from
>
http://archives.postgresql.org/message-id/20140506230722.GE24808%40awork2.anarazel.de
> addded. With some EXPLAIN (COSTS OFF) they'd test more.
>

Ok. In a few hours I'll add your suggestion and send it again.

Regards,

--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Timbira: http://www.timbira.com.br
>> Blog sobre TI: http://fabriziomello.blogspot.com
>> Perfil Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabrízio de Royes Mello 2014-05-10 00:01:05 Re: New pg_lsn type doesn't have hash/btree opclasses
Previous Message Tom Lane 2014-05-09 23:42:39 Re: New pg_lsn type doesn't have hash/btree opclasses