Skip site navigation (1) Skip section navigation (2)

Re: BUG #2440: TEMP TABLES in Postgres 8.1.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Peter Exner" <exner(at)his(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2440: TEMP TABLES in Postgres 8.1.3
Date: 2006-05-16 14:38:37
Message-ID: 12207.1147790317@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Peter Exner" <exner(at)his(dot)de> writes:
> SQL-Statement: 
> UPDATE table1 SET value1 = value1 - (SELECT value1_sum FROM tmp_table WHERE
> table1.table1_id = tmp_table.max_id) WHERE split_anteil < 10000 AND afa_ende
> = 24061 AND table1.table1_id = tmp_table.max_id;

That's not standard SQL.  You can fix it to work under 8.1 the same as
it did before by adding "FROM tmp_table", or if you are stubborn you can
turn add_missing_from on ...

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Cristiano DuarteDate: 2006-05-16 14:47:25
Subject: Re: [BUGS] BUG #2429: Explain does not report object's schema
Previous:From: Martijn van OosterhoutDate: 2006-05-16 11:13:59
Subject: Re: [BUGS] BUG #2429: Explain does not report object's schema

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group