diff -r a921669e913a -r 4fe39c59c515 pgtoolkit.conf.example --- a/pgtoolkit.conf.example Wed Sep 26 16:21:59 2012 +0200 +++ b/pgtoolkit.conf.example Wed Sep 26 16:28:28 2012 +0200 @@ -3,8 +3,7 @@ 'test' : 'host=127.0.0.1 user=test password=test dbname=test' } -### meta database -# connection string (dsn) to meta db +### meta database (contains connection parameters for other databases) meta_db = 'host=10.8.0.1 dbname=central' -# query from meta db, input is database name (will be placed instead of %s), output is values for create_conn +# query for connection parameters, input is database name (will be placed instead of %s) meta_query = '''SELECT host, port, dbname, user, password FROM config.databases WHERE name = %s LIMIT 1'''