ltree valid characters

Поиск
Список
Период
Сортировка
От Net Virtual Mailing Lists
Тема ltree valid characters
Дата
Msg-id 20050106192626.4450@mail.net-virtual.com
обсуждение исходный текст
Список pgsql-general
Hello,

I'm using ltree but I have a requirement to use the "-" character in the
text of a node.  Can I just change (in ltree.h) the following line:

#define ISALNUM(x)      ( isalnum((unsigned char)(x)) || (x) == '_')

to:

#define ISALNUM(x)      ( isalnum((unsigned char)(x)) || (x) == '_' ||
(x) == '-')


.. or will there be hidden consequences of this?...


Thanks!

- Greg


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

Предыдущее
От: "Joost Kraaijeveld"
Дата:
Сообщение: Re: Query, view join question.
Следующее
От: vhikida@inreach.com
Дата:
Сообщение: Re: Query, view join question.