Revision 12191
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/sh/db.sh | ||
---|---|---|
362 | 362 |
echo_func; : "${schema:?}"; mk_schema_esc |
363 | 363 |
pattern='cannot create temporary relation in non-temporary schema' \ |
364 | 364 |
stderr_matches try psql <<<"CREATE TEMP TABLE $schema_esc.t ()" |
365 |
# try: suppress error exit status |
|
365 | 366 |
} |
366 | 367 |
|
367 | 368 |
pg_require_schema() # usage: schema=... pg_require_schema |
Also available in: Unified diff
lib/sh/db.sh: pg_schema_exists(): documented that `try` is used to suppress the error exit status