Re: self join revisited

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rikard Pavelic <rikard.pavelic@xxxxxxxxxxx> writes:
> It would be great if Postgres could rewrite this query

AFAICS those queries are not going to produce the same results,
so Postgres would be 100% incorrect to rewrite it like that for you.

(If they do produce the same results, it would depend on a bunch
of assumptions you have not stated.)

			regards, tom lane

-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux