incorrect query result using complex structures (views?)

Поиск
Список
Период
Сортировка
От Kovacs Zoltan
Тема incorrect query result using complex structures (views?)
Дата
Msg-id Pine.LNX.4.21.0105071835060.11748-300000@pc10.radnoti-szeged.sulinet.hu
обсуждение исходный текст
Ответы Re: incorrect query result using complex structures (views?)
Список 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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: Isn't pg_statistic a security hole?
Следующее
От: teg@redhat.com (Trond Eivind Glomsrød)
Дата:
Сообщение: Re: File system performance and pg_xlog