couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Melo <andrew.m...@gmail.com>
Subject Re: Valid database names in 0.11
Date Mon, 14 Jun 2010 17:22:36 GMT
On Mon, Jun 14, 2010 at 7:20 PM, J Chris Anderson <jchris@gmail.com> wrote:

>
> On Jun 13, 2010, at 12:05 PM, Jan Lehnardt wrote:
>
> >
> > On 13 Jun 2010, at 19:59, Dirkjan Ochtman wrote:
> >
> >> On Sun, Jun 13, 2010 at 19:57, Jan Lehnardt <jan@apache.org> wrote:
> >>> This is not a bug, the regex to validate a db name is
> >>>
> >>> "^[a-z][a-z0-9\_\$()\+\-\/]*$" and has been for a while.
> >>>
> >>> The wiki states "The name has to start with characters."
> >>
> >> Except that that's false, since "_users" is now also a valid db name.
> >
> > Exceptions and rules :)
>
> yes, there are some hardcoded ok db names to start with _
>
> currently
>
> _user
> _replicator (in a patch, not in trunk yet. soon I hope)
>

But it's understood that _ databases are 'special', and that namespace isn't
available for users either, so they shouldn't be concerned about the
exception.

best,
Andrew



>
> >
> > Cheers
> > Jan
> > --
> >
>
>


-- 
--
Andrew Melo

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message