pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Miroslav Ć ulc <miroslav.sulc@startnet.cz>
Cc: pgsql-sql@postgresql.org
Subject: Re: DELETE ... USING ... - 8.0 and 8.1 compatibility problem
Date: Wed, 31 May 2006 17:50:19 -0400
Message-ID: <22509.1149112219@sss.pgh.pa.us> (raw)
In-Reply-To: <447E0BF3.2040707@startnet.cz>
References: <447E0BF3.2040707@startnet.cz>

=?ISO-8859-2?Q?Miroslav_=A9ulc?= <miroslav.sulc@startnet.cz> writes:
> The problem is that I have application deployed both on pg 8.0 and pg
> 8.1. This syntax (using USING) is only valid for 8.1+ and syntax without
> USING is only valid for 8.0 and not for 8.1. I could write it using IN
> operators which works in both versions but the slowdown is not acceptable.

Set add_missing_from TRUE ...

			regards, tom lane



view thread (2+ messages)

Message-ID: <22509.1149112219@sss.pgh.pa.us>
Permalink:  ../22509.1149112219@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22509.1149112219@sss.pgh.pa.us

 · 

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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, miroslav.sulc@startnet.cz
  Subject: Re: DELETE ... USING ... - 8.0 and 8.1 compatibility problem
  In-Reply-To: <22509.1149112219@sss.pgh.pa.us>

* 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