Re: contrib/ltree patches

From: Teodor Sigaev <teodor(at)stack(dot)net>
To: Dan Langille <dan(at)langille(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org, oleg(at)sai(dot)msu(dot)su
Subject: Re: contrib/ltree patches
Date: 2002-11-27 16:55:07
Message-ID: 3DE4F8EB.4090405@stack.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>What is the reason for changing delimiter?
>
>
> My tree represents a file system. Here are some entries:
>>>Below are the patches to make this change. I have also moved the
>>>delimiter to a DEFINE so that other customizations are easily done.
>>>This is a work in progress.
>>
>
>>It's good.

>
> #define ISALNUM(x) ( isalnum((unsigned int)(x)) || (x) == '_' ||
> (x) == '-' || (x) == '.' || (x) == '+' || (x) == ':' || (x) == '~' ||
> (x) == '%' || (x) == ',' || (x) == '#')
>
> Given that I am trying to allow any valid filename, I think ISALNUM
> needs to allow any ASCII character.
>
> I also think I will need to modify the parsing within lquery_in to
> allow escaping of characters it recognizes but which may be part of a
> file name (e.g. :%~ may be part of a file name, but these are special
> characters to lquery_in). That I think will be the biggest change.

Ok, I think it's a good extension. Let you prepare cumulative patch.
Nevertheless, we have no chance to insert this to 7.3 release :(. Only for
7.3.1 or even 7.4.

--
Teodor Sigaev
teodor(at)stack(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-11-27 16:56:34 Re: FreeBSD, Linux: select, select count(*) performance
Previous Message Neil Conway 2002-11-27 16:51:13 Re: next value expression