man/man5/vmm.cfg.5.rst
branchv0.6.x
changeset 357 095b43faaba5
parent 307 217b419d6561
child 384 d3a97f7fb98a
equal deleted inserted replaced
356:61e732e4cb3e 357:095b43faaba5
   212 .. _database.host:
   212 .. _database.host:
   213 
   213 
   214 ``host (default: localhost)`` : *String*
   214 ``host (default: localhost)`` : *String*
   215   Hostname or IP address of the database server.
   215   Hostname or IP address of the database server.
   216 
   216 
       
   217 .. _database.module:
       
   218 
       
   219 ``module (default: psycopg2)`` : *String*
       
   220   The Python PostgreSQL database adapter module to be used. Supported modules
       
   221   are **psycopg2** and **pyPgSQL**.
       
   222 
   217 .. _database.name:
   223 .. _database.name:
   218 
   224 
   219 ``name (default: mailsys)`` : *String*
   225 ``name (default: mailsys)`` : *String*
   220   Name of the database.
   226   Name of the database.
   221 
   227 
   222 .. _database.pass:
   228 .. _database.pass:
   223 
   229 
   224 ``pass (default: None)`` : *String*
   230 ``pass (default: None)`` : *String*
   225   Database password.
   231   Database password.
   226 
   232 
       
   233 .. _database.port:
       
   234 
       
   235 ``port (default: 5432)`` : *Int*
       
   236   The TCP port, on which the database server is listening for connections.
       
   237 
       
   238 .. _database.sslmode:
       
   239 
       
   240 ``sslmode (default: prefer)`` : *String*
       
   241   Determines whether and with what priority an SSL connection will be
       
   242   negotiated with the database server. Possible values are: **disabled**,
       
   243   **allow**, **prefer**, **require**, **verify-ca**, and **verify-full**.
       
   244   The modes **verify-ca** and **verify-full** are available since PostgreSQL
       
   245   8.4.
       
   246 
       
   247   This setting will be ignored when the pyPgSQL *module* is used.
       
   248 
   227 .. _database.user:
   249 .. _database.user:
   228 
   250 
   229 ``user (default: None)`` : *String*
   251 ``user (default: None)`` : *String*
   230   Name of the database user.
   252   Name of the database user.
   231 
   253 
   232 Example::
   254 Example::
   233 
   255 
   234   [database]
   256   [database]
   235   host = localhost
   257   host = dbsrv8.example.net
       
   258   port 5433
       
   259   sslmode = require
   236   user = vmm
   260   user = vmm
   237   pass = PY_SRJ}L/0p-oOk
   261   pass = PY_SRJ}L/0p-oOk
   238   name = mailsys
   262   name = mailsys
   239 
   263 
   240 
   264