Re: MAX() of 0 records.
От | Tom Lane |
---|---|
Тема | Re: MAX() of 0 records. |
Дата | |
Msg-id | 8477.962940582@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | MAX() of 0 records. (Paul McGarry <paulm@opentec.com.au>) |
Список | pgsql-sql |
Paul McGarry <paulm@opentec.com.au> writes: > However there will be situations where there are no records for > a given item_entry_id with item_live='t'. Currently when I try > do update/insert a record so that this occurs I get the following > error 'ERROR: ExecutePlan: (junk) 'ctid' is NULL!' and the > insert/update attempt is rolled back. This seems like a backend bug to me, but being an overworked hacker I'm too lazy to try to reconstruct the scenario from your sketch. Could I trouble you to submit a formal bug report with a specific, hopefully compact script that triggers the problem? > Is there a good way of going about this or should I just be wrapping > the whole thing up in an Until I've isolated the bug I don't want to speculate about whether it'll be reasonable to try to back-patch a fix into 7.0.*. Usually we don't risk back-patching complex fixes into stable releases, but the fix might be simple once we know the cause. regards, tom lane PS: I trust you're using 7.0.* ?
В списке pgsql-sql по дате отправления: