Re: obj_unique_identifier(oid) - Mailing list pgsql-hackers

From Robert Haas
Subject Re: obj_unique_identifier(oid)
Date
Msg-id AANLkTimTPZiDmurBC26ncQEH4EvxhH=V2-jZ-U=joni9@mail.gmail.com
Whole thread Raw
In response to Re: obj_unique_identifier(oid)  (Joel Jacobson <joel@gluefinance.com>)
List pgsql-hackers
On Sat, Jan 8, 2011 at 8:02 PM, Joel Jacobson <joel@gluefinance.com> wrote:
> 2011/1/9 Robert Haas <robertmhaas@gmail.com>:
>> Oops.  I misread your query.  I thought the duplicates were because
>> you were feeding pg_describe_object the same classoid, objoid,
>> objsubid pair more than once, but I see now that's not the case (UNION
>> != UNION ALL).
>
> Ah, I see, yes, the query should actually be UNION, it would produce
> the same result, but perhaps it would be a bit faster.

You did use UNION - I think if you used UNION ALL you'd get spurious
results.  But maybe I'm still confused.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: WIP: Range Types
Next
From: Jeff Davis
Date:
Subject: Re: WIP: Range Types