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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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