Project

General

Profile

« Previous | Next » 

Revision 10825

lib/sh/db.sh: added pg_export_table_to_dir(), analogous to pg_export_table_to_dir_no_header()

View differences:

lib/sh/db.sh
303 303
	pg_export "$@"
304 304
}
305 305

  
306
pg_export_table_to_dir()
307
{
308
	echo_func
309
	local table="$1"; shift; mk_table_esc
310
	stdout="$exports_dir/$table.csv" to_file pg_export "$@"
311
}
312

  
306 313
pg_export_table_to_dir_no_header()
307 314
{
308 315
	echo_func

Also available in: Unified diff