Project

General

Profile

« Previous | Next » 

Revision 12767

fix: *{.sh,run}: stderr_matches() wrappers: usage: added `rethrow`

View differences:

trunk/lib/sh/local.sh
82 82
	)|psql__db_sh "$@"
83 83
}
84 84

  
85
public_schema_exists() { echo_func; schema=public clog++ pg_schema_exists; }
85
public_schema_exists() # usage: prep_try; if public_schema_exists; \
86
# then rethrow; ...; fi; rethrow
87
{ echo_func; schema=public clog++ pg_schema_exists; }
86 88

  
87 89
pg_dump_local() { echo_func; use_local; pg_dump "$@"; }
88 90

  

Also available in: Unified diff