Package: postgresql-client-common

pg_wrapper is supposed to pick the latest version of psql and other
tools, but it can fail with

Error: No existing local cluster is suitable as a default target. Please
see man pg_wrapper(1) how to specify one.

before it gets to that point.

This will happen if you don't specify a host or port and there is no
local cluster using port 5432.

It seems to me that

https://alioth.debian.org/scm/loggerhead/pkg-postgresql/postgresql-common/trunk/view/head:/pg_wrapper#L109

should be moved before

https://alioth.debian.org/scm/loggerhead/pkg-postgresql/postgresql-common/trunk/view/head:/pg_wrapper#L90

(Not sure about the exact order, but I'm sure the awesome test suite
will sort it out. ;-) )

_______________________________________________
Pkg-postgresql-public mailing list
Pkg-postgresql-public@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public

Reply via email to