ltree valid characters

From: "Net Virtual Mailing Lists" <mailinglists(at)net-virtual(dot)com>
To: "Pgsql General" <pgsql-general(at)postgresql(dot)org>
Subject: ltree valid characters
Date: 2005-01-06 19:26:25
Message-ID: 20050106192626.4450@mail.net-virtual.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message vhikida 2005-01-06 19:34:16 Re: Query, view join question.
Previous Message Joost Kraaijeveld 2005-01-06 19:19:26 Re: Query, view join question.