]> xenbits.xensource.com Git - people/liuw/osstest.git/commit
cri-getconfig: Provide get_psql_cmd and get_pgdump_cmd
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 4 Dec 2015 18:03:30 +0000 (18:03 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 8 Dec 2015 14:51:02 +0000 (14:51 +0000)
commitdb3d6ca396ab89d8e8dea4acc399ff852d570d6c
tree7063f97eba6c641479d0b804086f19c03a3bcf50
parent46a3c94ec8e6626e15b117c122c5db9df7605229
cri-getconfig: Provide get_psql_cmd and get_pgdump_cmd

This is for (non-standalone-mode) shell scripts which want to access
the postgresql database.

get_psql_command provides `-v ON_ERROR_STOP' because it is not the
default (!) and no sane caller would not want it.

No callers as yet.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: Fix typo in comment.
cri-getconfig