975934373b
list_databases() прячит базы по массиву строк: подстрока без регистра или маска со * ? [. Фильтр — единственное место рождения списка, поэтому одинаков для меню, пульта и list; явное имя в CLI не трогает.
53 lines
1.0 KiB
JSON
53 lines
1.0 KiB
JSON
{
|
|
"pg_bin_dir": "C:\\Program Files\\pgAdmin 4\\runtime",
|
|
"dump_dir": "dumps",
|
|
"keep_dumps": 5,
|
|
|
|
"source": {
|
|
"host": "postgresql.lan",
|
|
"port": 5432,
|
|
"maintenance_database": "postgres",
|
|
"exclude_databases": [],
|
|
"user": "postgres",
|
|
"password": null,
|
|
"password_env": "STAND_PGPASSWORD",
|
|
"sslmode": "prefer",
|
|
"connect_timeout": 15
|
|
},
|
|
|
|
"target": {
|
|
"host": "localhost",
|
|
"port": 5432,
|
|
"database": null,
|
|
"user": "postgres",
|
|
"password": null,
|
|
"password_env": "LOCAL_PGPASSWORD",
|
|
"maintenance_database": "postgres",
|
|
"owner": "postgres",
|
|
"recreate": true
|
|
},
|
|
|
|
"dump": {
|
|
"schema_only": false,
|
|
"no_owner": true,
|
|
"no_privileges": true,
|
|
"compress": 6,
|
|
"verbose": false,
|
|
"schemas": [],
|
|
"exclude_schemas": [],
|
|
"exclude_tables": [],
|
|
"exclude_table_data": []
|
|
},
|
|
|
|
"restore": {
|
|
"jobs": 4,
|
|
"no_owner": true,
|
|
"no_privileges": true,
|
|
"clean": true,
|
|
"exit_on_error": false,
|
|
"verbose": false
|
|
},
|
|
|
|
"post_restore_sql": []
|
|
}
|