Re: pg_dump versus views and opclasses

From: "Brendan Jurd" <direvus(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_dump versus views and opclasses
Date: 2009-01-17 15:33:26
Message-ID: 37ed240d0901170733g70ca792anc6f16b3b57a9afeb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jan 18, 2009 at 1:41 AM, Brendan Jurd <direvus(at)gmail(dot)com> wrote:
> ... but I'm confused as to why 8.4
> doesn't freak out when told to create a view it doesn't actually know
> how to execute. Have the rules for evaluating views changed?
>

Update. Turns out that 8.4 DOES know how to execute the view. If you
try to group on a user-defined composite type, 8.4 just goes ahead and
groups it, rather than giving the old "could not identify an ordering
operator" error.

Which renders the whole idea of creating my own opclass for the type
very much bunk.

What sorcery is this? Does 8.4 add some kind of default ordering
strategy for composite types?

Cheers,
BJ

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-01-17 15:49:54 Re: Autovacuum daemon terminated by signal 11
Previous Message Brendan Jurd 2009-01-17 14:41:25 Re: pg_dump versus views and opclasses