Re: Different results from identical matviews - Mailing list pgsql-general

From Tom Lane
Subject Re: Different results from identical matviews
Date
Msg-id 891329.1593728738@sss.pgh.pa.us
Whole thread Raw
In response to Re: Different results from identical matviews  (Anders Steinlein <anders@e5r.no>)
List pgsql-general
Anders Steinlein <anders@e5r.no> writes:
> Am I right in thinking that we should actually go over (i.e. re-create) all
> functions and views defined before this dump/restore where we're using JOIN
> ... USING (citext_column)? We most definitely have many more such cases,
> since this is the common (perhaps naive) way we've written joins (unless
> there are obvious reasons to be explicit). :-/

If it's not clear to you how this matview came to be different from
the rest, then it certainly seems likely that other ones might have
the same disease.

Note that functions don't really have this sort of issue, since they're
just stored as text.  Only a view or matview would preserve creation-time
decisions about interpretation.

            regards, tom lane



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Does TOAST really compress the complete row?
Next
From: Adam Brusselback
Date:
Subject: Re: Does TOAST really compress the complete row?