Project

General

Profile

« Previous | Next » 

Revision 9648

lib/sh/db.sh: added use_pg alias

View differences:

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