Project

General

Profile

« Previous | Next » 

Revision 12201

*{.sh,run}: stderr_matches calls: don't need to wrap the command in `"try"` because stderr_matches now does this

View differences:

db.sh
362 362
{
363 363
	echo_func; : "${schema:?}"; mk_schema_esc
364 364
	pattern='cannot create temporary relation in non-temporary schema' \
365
stderr_matches try psql <<<"CREATE TEMP TABLE $schema_esc.t ()"
366
		# try: suppress error exit status
365
stderr_matches psql <<<"CREATE TEMP TABLE $schema_esc.t ()"
367 366
}
368 367

  
369 368
pg_require_schema() # usage: schema=... pg_require_schema

Also available in: Unified diff