Re: revised hstore patch

Поиск
Список
Период
Сортировка
Искать
От
David E. Wheeler
Тема
Re: revised hstore patch
Дата
Msg-id
8C8011AE-D3A9-426E-81A5-0752BCE7BD01@kineticode.com
Ответ на
Re: revised hstore patch (Andrew Gierth)
Список
Дерево обсуждения
revised hstore patch Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: revised hstore patch Tom Lane <tgl@sss.pgh.pa.us>
Re: revised hstore patch Bruce Momjian <bruce@momjian.us>
Re: revised hstore patch Andrew Dunstan <andrew@dunslane.net>
Re: revised hstore patch Bruce Momjian <bruce@momjian.us>
Re: revised hstore patch Andrew Dunstan <andrew@dunslane.net>
Re: revised hstore patch Bruce Momjian <bruce@momjian.us>
Re: revised hstore patch Bruce Momjian <bruce@momjian.us>
Re: revised hstore patch Robert Haas <robertmhaas@gmail.com>
Re: revised hstore patch Dimitri Fontaine <dfontaine@hi-media.com>
Re: revised hstore patch Robert Haas <robertmhaas@gmail.com>
Re: revised hstore patch Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: revised hstore patch Jeff Davis <pgsql@j-davis.com>
Re: revised hstore patch Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: revised hstore patch Stephen Frost <sfrost@snowman.net>
Re: revised hstore patch Tom Lane <tgl@sss.pgh.pa.us>
Re: revised hstore patch Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: revised hstore patch "David E. Wheeler" <david@kineticode.com>
Re: revised hstore patch Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: revised hstore patch Robert Haas <robertmhaas@gmail.com>
Re: revised hstore patch Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: revised hstore patch Bruce Momjian <bruce@momjian.us>
Re: revised hstore patch Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: revised hstore patch "David E. Wheeler" <david@kineticode.com>
Re: revised hstore patch Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: revised hstore patch Andrew Dunstan <andrew@dunslane.net>
Review: revised hstore patch "David E. Wheeler" <david@kineticode.com>
On Jul 22, 2009, at 8:55 AM, Andrew Gierth wrote:

> The other option would be to fix the wasted-space bug in the existing
> hstore, and document that stored data must be updated at least once
> subsequent to that fix before doing a binary migrate to 8.5.

Given this…

> (The pathological case is _very_ rare, requiring an 0-length key with
> exactly 32kb of data, followed by a specific series of key lengths
> with values of length 1, and with more than 28kbytes of wasted space
> at the end of the value, and only on little-endian machines. The only
> way to get that much wasted space is to do several thousand iterations
> of UPDATE ... SET hs = hs || ''; each of which adds 8 bytes of wasted
> space to the end of the value. But even so, somebody, somewhere,
> probably has a value that matches...)

Could it be that only folks with such a manifestation of the bug would  
need to do a binary upgrade? If so, I certainly think it'd be worth it  
to fix the bug.

Best,

David
В списке pgsql-hackers по дате отправления
От: Andrew Gierth
Дата:
Сообщение: Re: revised hstore patch
От: Tom Lane
Дата:
FAQ