From: | "Ross J(dot) Reedstrom" <reedstrm(at)wallace(dot)ece(dot)rice(dot)edu> |
---|---|
To: | Rodrigo Rezende <Rodrigo(dot)Rezende(at)hortolandia(dot)marelli(dot)it> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: [SQL] Select & Tables X Select & Views |
Date: | 2000-02-18 18:26:31 |
Message-ID: | 20000218122631.C12742@rice.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Rodrigo -
Are you reporting a bug, or looking for advice? Here's how it works
for me:
I ran this script:
create table taba (a1 int);
create table tabb (b1 char);
insert into taba (1);
insert into taba values (1);
insert into taba values (2);
insert into taba values (3);
insert into tabb values ('a');
insert into tabb values ('b');
create view viewb as select * from tabb;
And here are the tests:
test=> select version();
version
--------------------------------------------------------------
PostgreSQL 6.5.0 on i686-pc-linux-gnu, compiled by gcc 2.7.2.3
(1 row)
test=> select * from taba, tabb;
a1|b1
--+--
1|a
2|a
3|a
1|b
2|b
3|b
(6 rows)
test=> select * from taba, viewb;
a1|b1
--+--
1|a
2|a
3|a
1|b
2|b
3|b
(6 rows)
test=>
So, it looks like your view definition is broken, or your using an
old version of pgsql.
Ross
--
Ross J. Reedstrom, Ph.D., <reedstrm(at)rice(dot)edu>
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St., Houston, TX 77005
From | Date | Subject | |
---|---|---|---|
Next Message | Rodrigo Rezende | 2000-02-18 18:56:06 | Select & Tables X Select & Views |
Previous Message | Mohit Marwaha | 2000-02-18 13:28:50 | Kindly stop sending please !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1 |