ltree valid characters
Started by Net Virtual Mailing Listsover 21 years ago1 messagesgeneral
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
Import Notes
Reply to msg id not found: 20050106183440.B954C5AF49B@svr4.postgresql.orgReference msg id not found: 20050106183440.B954C5AF49B@svr4.postgresql.org