Community mailing list archives

Re: Is it mandatory to use a reg expression for db_filter on odoo server configuration file ?

Yassine TEIMI
- 07/24/2015 05:11:22
Thanks Nick for your answer. 

2015-07-24 8:57 GMT+00:00 Nick Booker <>:
Yassine Teimi <> writes:

> Dears,
> Is it mandatory or I can use for example db_filter ="PROD" ?
> Thanks.

I presume you would want the name PROD and only PROD to be matched in
that case.

If you use db_filter = "PROD" then it will match any database name with
the string PROD anywhere within.  It won't be able to tell that you meant an exact

To match only databases whose whole name is PROD, you need:

db_filter = "^PROD$"



Yassine TEIMI

Consultant & Odoo Project Manager
TEL : +212 6-27 33 30 78