BUG #17818: CTE is not returning the right data.

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема BUG #17818: CTE is not returning the right data.
Дата
Msg-id CAKFQuwYE3kgk67m-Jr=6t_XVARejxxur6UmEQ6e5W=WjTazegg@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #17818: CTE is not returning the right data.  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
On Thursday, March 2, 2023, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      17818
Logged by:          Shiau Hoay Ong
Email address:      cute_hoay88@hotmail.com
PostgreSQL version: 12.1
Operating system:   window
Description:       

Hi Postgresql Support Team, today i encounter a mystery case. The Stored
Procedure is already used for sometime, but today there are some issue in
this Stored Procedure which causing the data got deleted. The scenario is
like sample below :


I do try out with Create Temp Table also work fine with the sample without
need filtering (as filtering will only reduce data record set).
Can you please help to investigate and explain what is the possible root
cause for this?
Thanks!


Upgrade to a supported minor release and probably rebuild all indexes (though being windows I’m less sure about collation issues…)

David J.

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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17821: Assertion failed in heap_update() due to heap pruning
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Clause accidentally pushed down ( Possible bug in Making Vars outer-join aware)