Re: BUG #14064: Sort order of bytea, etc. not defined

Поиск
Список
Период
Сортировка
От Pavel Golub
Тема Re: BUG #14064: Sort order of bytea, etc. not defined
Дата
Msg-id 1403837265.20160504091646@gf.microolap.com
обсуждение исходный текст
Ответ на BUG #14064: Sort order of bytea, etc. not defined  (cpacejo@clearskydata.com)
Ответы Re: BUG #14064: Sort order of bytea, etc. not defined  (Chris Pacejo <cpacejo@clearskydata.com>)
Список pgsql-bugs
Hello, Cpacejo.

You wrote:

ccc> The following bug has been logged on the website:

ccc> Bug reference:      14064
ccc> Logged by:          Chris Pacejo
ccc> Email address:      cpacejo@clearskydata.com
ccc> PostgreSQL version: 9.5.2
ccc> Operating system:   any
ccc> Description:

ccc> The documentation does not define (nor call out as undefined) the sort order
ccc> of bytea, bit varying, and other sequence types.  While the bytea sort order
ccc> is unsurprising (a < b if a is a prefix of b, but b > a if a prefix of b >
ccc> the same length prefix of a), it is not the only such "unsurprising" sort
ccc> order, and it would be helpful to have the guarantee that this sort order
ccc> can be relied upon (especially in concert with range types).



You shouls use explicit type casting for such types.

--
With best wishes,
 Pavel                          mailto:pavel@gf.microolap.com

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

Предыдущее
От: Manuel Gómez
Дата:
Сообщение: Re: BUG #14124: ON UPDATE CASCADE failure on repeated foreign key column
Следующее
От: wangyong20009109@163.com
Дата:
Сообщение: BUG #14125: when master set tablespace,slave recovery xlog pending