From: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
---|---|
To: | mucher(at)tigana(dot)pl, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Outer joins aren't working with views |
Date: | 2000-12-15 17:23:19 |
Message-ID: | Pine.BSF.4.21.0012150921570.60011-100000@megazone23.bigpanda.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
What version are you using? The sample code works for me
on current sources, three rows with the last one as 3|null|null
Stephan Szabo
sszabo(at)bigpanda(dot)com
On Fri, 15 Dec 2000 pgsql-bugs(at)postgresql(dot)org wrote:
> Grzegorz Mucha (mucher(at)tigana(dot)pl) reports a bug with a severity of 2
> The lower the number the more severe it is.
>
> Short Description
> Outer joins aren't working with views
>
> Long Description
> It seems outer joins are not working at all(they work as inner joins so far).
> For example, see below:
> (the result is identical for inner and outer join) - two rows fetched from db(as I recall, there should be one more row having t1.id=3)
>
> Sample Code
> create table t1(id serial primary key);
> create table t2(id2 serial primary key, id int);
> insert into t1 values (1);
> insert into t1 values (2);
> insert into t1 values (3);
> insert into t2 (id) values(1);
> insert into t2 (id) values(2);
> select t1.*, t2.* from t1 natural left outer join t2;
>
> No file was uploaded with this report
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-12-15 17:47:54 | Re: grant oddity |
Previous Message | Tom Lane | 2000-12-15 16:07:07 | Re: Outer joins aren't working with views |
From | Date | Subject | |
---|---|---|---|
Next Message | Hannu Krosing | 2000-12-15 17:34:06 | Re: (Updated) Table File Format |
Previous Message | Stephan Szabo | 2000-12-15 17:17:47 | Re: Ocasional problems !!!! |