Project

General

Profile

« Previous | Next » 

Revision 8792

lib/runscripts/local.run: psql (): output only the query results to stdout (using --output), and redirect everything else to stderr

View differences:

lib/runscripts/local.run
36 36
SET search_path TO "$schema", util;
37 37
EOF
38 38
	cat)|
39
	echo_run env no_search_path=1 "$psql_cmd" "$@"
39
	echo_run env no_search_path=1 "$psql_cmd" --output /dev/fd/3 "$@" 3>&1 >&2
40 40
}
41 41

  
42 42
fi

Also available in: Unified diff