| From: | Kovacs Zoltan <kovacsz(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | incorrect query result using complex structures (views?) |
| Date: | 2001-05-07 16:37:18 |
| Message-ID: | Pine.LNX.4.21.0105071835060.11748-300000@pc10.radnoti-szeged.sulinet.hu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
I cannot decide if this is a serious bug or not --- some queries from
complex views may give strange results. The next few days I will try to
find the point where the problem is but now I can only include the data
structure and the SELECT statements which don't give the correct result. A
lot of rows (contained by the database) should be downloaded from
http://www.math.u-szeged.hu/~kovzol/rows.pgsql.gz (25K, uncompressed 305K)
if you want to check this error.
Here are the definitions (rels-views.pgsql) and a RUNME.pgsql file (which
must be loaded with \i in psql), it contains the SELECTs.
I tried it with 7.1beta4 and 7.1.
There ARE workarounds. I am using SQL functions instead of subSELECTs now.
Regards,
Zoltan
| Attachment | Content-Type | Size |
|---|---|---|
| rels-views.pgsql | text/plain | 2.7 KB |
| RUNME.pgsql | text/plain | 311 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Lieven Van Acker | 2001-05-07 16:41:54 | Re: v7.1.1 Branched, Packaged and Released ... |
| Previous Message | Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= | 2001-05-07 16:26:31 | Re: File system performance and pg_xlog |