Re: Query runs too long for indexed tables

From: "Andrus" <eetasoft(at)online(dot)ee>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Query runs too long for indexed tables
Date: 2006-04-05 10:40:25
Message-ID: e106r0$1h75$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message PFC 2006-04-05 11:25:05 Re: Query runs too long for indexed tables
Previous Message PFC 2006-04-05 10:22:53 Re: Query runs too long for indexed tables