Re: ISN was: Core Extensions relocation

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: ISN was: Core Extensions relocation
Дата
Msg-id CAEYLb_WsKW=YSDgsJry-5wGbOH1a3chgdwDc43b9-v02OhB5Wg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ISN was: Core Extensions relocation  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: ISN was: Core Extensions relocation
Список pgsql-hackers
On 15 November 2011 23:57, Robert Haas <robertmhaas@gmail.com> wrote:
> We can't go on complaining one the one hand that
> people don't install postgresql-contrib, and then on the other hand
> insist on shipping really bad code in contrib.  It's asking a lot for
> someone who isn't already heavily involved in the project to
> distinguish the wheat from the chaff.

ISTM that any sensible sanitisation of data guards against Murphy, not
Machiavelli. Exactly what sort of error is it imagined will be
prevented by enforcing that ISBN prefixes are "valid"? Transcription
and transposition errors are already guarded against very effectively
by the check digit.

If we can't put isn out of its misery, a sensible compromise would be
to rip out the prefix enforcement feature so that, for example, ISBN13
behaved exactly the same as EAN13. That would at least result in
predictable behaviour. The "strike" that separates each part of the
ISBN would be lost, but it is actually not visible on large ISBN
websites, presumably because it's a tar-pit of a problem.

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Group Commit
Следующее
От: Royce Ausburn
Дата:
Сообщение: Re: [PATCH] Unremovable tuple monitoring