You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/09/09 00:32:49 UTC

[GitHub] [couchdb] mqtik opened a new issue #3136: Allow for creating databases starting with a special character

mqtik opened a new issue #3136:
URL: https://github.com/apache/couchdb/issues/3136


   CouchDB has an amazing funcionality regarding _users; it's proof that special databases it's allowing developers to work faster, safer.
   
   I'm building a system (for open sourcing when ready), and I really need to create databases that starts with _ (underscore).
   
   That way, when listing databases, I can separate special databases from regular ones. And let the user create a database such as _emails, and that database can have special privileges such as send emails to _users
   
   I'm studying the code of CouchDB and compiling, thinking to try and do this myself (the part of allow creating databases with custom characters on start), but it seems quite a bit hacky (specially for upgrading couchDB later), and I'm sure you have best ideas on how to handle this.
   
   I was about to post on StackOverflow, but I feel this might be more of a feature request than a bug or how-to-use issue.
   
   Thanks and I'll stay tuned for replies.
   
   
    A special database just for handling _users 
   When creating databases, we can't


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] wohali commented on issue #3136: Allow for creating databases starting with a special character

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #3136:
URL: https://github.com/apache/couchdb/issues/3136#issuecomment-689335308


   You will need to fork CouchDB and maintain your own version with this modification. CouchDB is not going to allow end users to create databases beginning with `_`, sorry.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] wohali commented on issue #3136: Allow for creating databases starting with a special character

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #3136:
URL: https://github.com/apache/couchdb/issues/3136#issuecomment-689990501


   They are system reserved databases by convention. The product needs a place for expansion for ecosystem projects where specific functionality is assigned to databases starting with `_`. This includes `_users`, `_replicator`, and `_global_changes` but may expand in the future. It's a convention that dates back to the first versions of CouchDB, so it's unlikely to change. Sorry about that.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] mqtik commented on issue #3136: Allow for creating databases starting with a special character

Posted by GitBox <gi...@apache.org>.
mqtik commented on issue #3136:
URL: https://github.com/apache/couchdb/issues/3136#issuecomment-689848323


   Oh, well. I'll have to see another way.
   
   I'm curious @wohali, why not? I know _* databases are special, but why users can't create such databases? 
   
   Thanks for your reply.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] wohali closed issue #3136: Allow for creating databases starting with a special character

Posted by GitBox <gi...@apache.org>.
wohali closed issue #3136:
URL: https://github.com/apache/couchdb/issues/3136


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] mqtik edited a comment on issue #3136: Allow for creating databases starting with a special character

Posted by GitBox <gi...@apache.org>.
mqtik edited a comment on issue #3136:
URL: https://github.com/apache/couchdb/issues/3136#issuecomment-689848323


   Oh, well. I'll have to find another way.
   
   I'm curious @wohali, why not? I know _* databases are special, but why users can't create such databases? 
   
   Thanks for your reply.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org