Re: Overhead of union versus union all - Mailing list pgsql-general

From Jeff Davis
Subject Re: Overhead of union versus union all
Date
Msg-id 1247248307.26589.329.camel@monkey-cat.sm.truviso.com
Whole thread Raw
In response to Re: Overhead of union versus union all  (Greg Stark <gsstark@mit.edu>)
List pgsql-general
On Fri, 2009-07-10 at 18:47 +0100, Greg Stark wrote:
> > -- foo has a primary key

> Well no, it's equivalent to SELECT DISTINCT * FROM foo;

I think you missed that "foo" has a primary key.

Regards,
    Jeff Davis


pgsql-general by date:

Previous
From: artacus@comcast.net
Date:
Subject: Re: XML import with DTD
Next
From: Scott Marlowe
Date:
Subject: Re: Overhead of union versus union all