Revision 12766
Added by Aaron Marcuse-Kubitza almost 11 years ago
db.sh | ||
---|---|---|
362 | 362 |
) |
363 | 363 |
} |
364 | 364 |
|
365 |
pg_schema_exists() # usage: schema=... pg_schema_exists |
|
365 |
pg_schema_exists() # usage: prep_try; if schema=... pg_schema_exists; \ |
|
366 |
# then rethrow; ...; fi; rethrow |
|
366 | 367 |
{ |
367 | 368 |
echo_func; : "${schema:?}"; mk_schema_esc |
368 | 369 |
prep_try; pattern='cannot create temporary relation in non-temporary schema' \ |
Also available in: Unified diff
fix: *{.sh,run}: stderr_matches() wrappers: usage: added `rethrow`