Revision 13365
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/lib/sh/db.sh | ||
---|---|---|
364 | 364 |
# [compress=1] [create_schema=] [users=1] pg_dump [opts...] >out |
365 | 365 |
# database='': entire cluster |
366 | 366 |
{ |
367 |
echo_func;kw_params database struct data owners compress create_schema users |
|
367 |
echo_func; use_pg # import $pg_database |
|
368 |
kw_params database struct data owners compress create_schema users |
|
368 | 369 |
: "${database?}" |
369 | 370 |
local create_schema="${create_schema-1}" |
370 | 371 |
|
Also available in: Unified diff
bugfix: lib/sh/db.sh: pg_dump(): need use_pg to import $pg_database before checking for existence of $database