patch for xidin

Поиск
Список
Период
Сортировка
От Zhang Zq
Тема patch for xidin
Дата
Msg-id 47fcdd00.13c02.14cc7bae592.Coremail.zqzhangmail@163.com
обсуждение исходный текст
Ответы Re: patch for xidin  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
hi,
   The implements of 'xidin' use only ‘strtoul’ to cast from string to xid. So in some cases, may cause confusion, for example,
The sql 'select c1 from test where xmin='abc' can be executed.  and sometimes will make mistakes, I want to query "select c1 from test where xmin='0x10'" ,but write 'Ox10', '0' to 'O',The result is obviously wrong.

The patch will correct it. I have justly copy some code of 'OID'. Whether we need to extract the common code?

Thanks.
Вложения

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

Предыдущее
От: Petr Jelinek
Дата:
Сообщение: Re: TABLESAMPLE patch
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Manipulating complex types as non-contiguous structures in-memory