Community mailing list archives
Re: Is it mandatory to use a reg expression for db_filter on odoo server configuration file ?by
OpusVL, Nick Booker
Yassine Teimi <email@example.com> 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 match. To match only databases whose whole name is PROD, you need: db_filter = "^PROD$"