Re: row_to_json bug with index only scans: empty keys!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: row_to_json bug with index only scans: empty keys!
Дата
Msg-id 22095.1415466842@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: row_to_json bug with index only scans: empty keys!  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: row_to_json bug with index only scans: empty keys!  (Kevin Grittner <kgrittn@ymail.com>)
Re: row_to_json bug with index only scans: empty keys!  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 11/08/2014 11:24 AM, Tom Lane wrote:
>> That seems like a pretty silly move: it wouldn't actually fix anything,
>> and it would break cases that perhaps are acceptable to users today.

> What evidence do you have that it might be acceptable to today's users? 
> The only evidence we have that I know of is Ross' complaint that 
> indicates that it's not acceptable.

The fact that we've only gotten two bug reports in however many years the
failure has been possible might mean that few people encounter the case,
or it might mean that it doesn't break things for their usages so badly
that they need to complain.  If the latter, throwing an error rather than
fixing it is not going to be an improvement.

> I assume that's what you would propose for just the stable branches, and 
> that going forward we'd always use the aliases from the RTE?

That would be my druthers.  But given the lack of complaints, maybe we
should just stick to the more-backwards-compatible behavior until someone
does complain.  Thoughts?
        regards, tom lane



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

Предыдущее
От: Jon Erdman
Дата:
Сообщение: Fw: [GENERAL] PLV8 and JS exports / referencing
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Add CREATE support to event triggers