Re: record identical operator - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: record identical operator
Date
Msg-id m24n9i6ipj.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: record identical operator  (Kevin Grittner <kgrittn@ymail.com>)
Responses Re: record identical operator
Re: record identical operator
List pgsql-hackers
Kevin Grittner <kgrittn@ymail.com> writes:
> change, but if '1.4' was stored in a column copied into a matview
> and they later updated the source to '1.40' the increase in
> accuracy would not flow to the matview.  That would be a bug, not a
> feature.

Maybe the answer to that use case is to use the seg extension?
 http://www.postgresql.org/docs/9.3/interactive/seg.html

IOW, colour me unconvinced about that binary-equality opclass use case
in MatViews. We are trusting the btree equality operator about
everywhere in PostgreSQL and it's quite disturbing to be told that in
fact we should not trust it.

Would it make sense for you to produce a patch without the extra
operators, behavior, opclass and opfamily here so that we can focus on
the MatView parts of it?

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: record identical operator
Next
From: Kevin Grittner
Date:
Subject: Re: record identical operator