Is there an official bug list?
The reason I ask is that there are a couple of issues that probably need to
be filed somewhere (soft peat?), at least for my peace of mind...
1. Temp tables preventing permanent table creation:
---------------------------------------------------
zzz=# create table zzz(f1 int4);
zzz=# create temporary table zzz(f1 int4);
...works
zzz=# create temporary table zzz(f1 int4);
zzz=# create table zzz(f1 int4);
ERROR: Relation 'zzz' already exists
I would have thought that the order sjould not be important.
2. Unpleasant error (& behaviour) from legal statement
------------------------------------------------------
create table t1(f1 int4, f2 int4);
create table t2(f1 int4, f2 int4);
insert into t1 values(1, 0);
insert into t1 values(2, 0);
insert into t2 values(1, 0);
update t1 set f2=count(*) from t2 where t1.f1=1 and t2.f1=t1.f1 ;
UPDATE 1
update t1 set f2=count(*) from t2 where t1.f1=2 and t2.f1=t1.f1 ;
ERROR: ExecutePlan: (junk) `ctid' is NULL!
I would have expected f2 to be either 0 when no rows matched, or to be
unchanged.
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.C.N. 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \| | --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/