pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrus <eetasoft@online.ee>
To: pgsql-performance@postgresql.org
Subject: Re: Query runs too long for indexed tables
Date: Wed, 5 Apr 2006 13:40:25 +0300
Message-ID: <e106r0$1h75$1@news.hub.org> (raw)
References: <e0ui0o$2v0m$2@news.hub.org>
	<1144180128.32266.56.camel@state.g2switchworks.com>
	<e1039l$15ie$1@news.hub.org>
	<op.s7i5sfy2cigqcu@apollo13>

> 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. 





view thread (9+ messages)  latest in thread

Message-ID: <e106r0$1h75$1@news.hub.org>
Permalink:  ../e106r0$1h75$1@news.hub.org/
Also on:    postgresql.org/message-id/e106r0$1h75$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: eetasoft@online.ee
  Subject: Re: Query runs too long for indexed tables
  In-Reply-To: <e106r0$1h75$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox