Community mailing list archives

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

OpusVL, Nick Booker
- 07/24/2015 04:57:30
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$"