Revision 9648
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/db.sh | ||
---|---|---|
215 | 215 |
|
216 | 216 |
### PostgreSQL |
217 | 217 |
|
218 |
alias use_pg='declare prefix=pg_; import_vars; unset prefix' |
|
219 |
|
|
218 | 220 |
psql() # usage: [stdin=copy_pstdin_file] psql <<<"cmds, e.g. \copy from pstdin" |
219 | 221 |
{ |
220 | 222 |
echo_func; kw_params stdin |
Also available in: Unified diff
lib/sh/db.sh: added use_pg alias