Project

General

Profile

« Previous | Next » 

Revision 11433

lib/sh/local.sh: psql(): also accept $public as the $schema param, since this is used by a lot of import scripts

View differences:

lib/sh/local.sh
63 63
	echo_func; kw_params file dir
64 64
	if test "$file"; then local dir="${dir:-$(dirname "$file")}"; fi
65 65
	local dir="${dir:-$top_dir}"
66
	if isset public; then local schema="${schema:-$public}"; fi
66 67
	mk_schema_esc
67 68
	mk_table_esc
68 69
	local is_root="`case "$USER" in *postgres) echo 1;; esac`"

Also available in: Unified diff