Re: Query runs too long for indexed tables - Mailing list pgsql-performance

From Andrus
Subject Re: Query runs too long for indexed tables
Date
Msg-id e106r0$1h75$1@news.hub.org
Whole thread Raw
In response to Query runs too long for indexed tables  ("Andrus" <eetasoft@online.ee>)
Responses Re: Query runs too long for indexed tables  (PFC <lists@peufeu.com>)
List pgsql-performance
> Why not use a LEFT JOIN for this ?

UPDATE firma1.rid SET rid.toode=NULL
LEFT join firma1.toode using(toode)
         WHERE rid.toode IS NOT NULL AND toode.toode IS NULL;

Causes:

ERROR:  syntax error at or near "LEFT" at character 41

outer joins are not supported in Postgres UPDATE command.

Andrus.



pgsql-performance by date:

Previous
From: PFC
Date:
Subject: Re: Query runs too long for indexed tables
Next
From: PFC
Date:
Subject: Re: Query runs too long for indexed tables