Skip to content

Commit

Permalink
Documentation for the comparedb-related settings
Browse files Browse the repository at this point in the history
  • Loading branch information
brutasse authored and paltman committed Apr 19, 2011
1 parent d763f9f commit 5e278c4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,23 @@ Options for upgradedb
006.


Configuration for comparedb
---------------------------

The `comparedb` command is available only for Postgres. It executes a few raw
postgres shell commands which you might need to customize to add user
credentials, encoding or specify database templates. This can be done through
the `NASHVEGAS` dictionnary in your setting::

NASHVEGAS = {
'createdb': 'createdb -U postgres -T template0 -E UTF8',
'dropdb': 'dropdb -U postgres',
'pg_dump': 'pg_dump -U postgres',
}

By default, nashvegas executes raw `createdb`, `dropdb` or `pg_dump` commands.


Conventions
-----------

Expand Down

0 comments on commit 5e278c4

Please sign in to comment.