Re: 9.5 release notes

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: 9.5 release notes
Дата
Msg-id 20150614012450.GE3926@momjian.us
обсуждение исходный текст
Ответ на Re: 9.5 release notes  (Peter Geoghegan <pg@heroku.com>)
Ответы Re: 9.5 release notes
Список pgsql-hackers
On Sat, Jun 13, 2015 at 03:53:43PM -0700, Peter Geoghegan wrote:
> On Thu, Jun 11, 2015 at 1:23 PM, Peter Geoghegan <pg@heroku.com> wrote:
> > I'm not sure if it's worth mentioning the "cheap equality for text"
> > commit (e246b3d6eac09). I guess that it probably is, because it will
> > help with things like index scans, too. Arguably that isn't a sorting
> > thing (it's certainly not *just* a sorting thing).
> 
> I think we should really address this. Attached patch adds a new
> release note item for it. It also adds to the documentation that
> explains why users should prefer varchar(n)/text to character(n); the
> lack of abbreviated key support now becomes a huge disadvantage for
> character(n), whereas in previous versions the disadvantages were
> fairly minor.
> 
> In passing, I updated the existing sort item to reflect that only
> varchar(n), text, and numeric benefit from the abbreviation
> optimization (not character types more generally + numeric), and added
> a note on the effectiveness of the abbreviation optimization alone.

This all also seems like overkill to me.  Users just don't care about
this level of detail, and are easily confused by it.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: 9.5 release notes
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 9.5 release notes