Commit 3cc67bbd authored by Christoph Berg's avatar Christoph Berg

pg_ctlcluster: You must run this program as the cluster owner ... or root.

parent e97d163c
......@@ -7,8 +7,9 @@ postgresql-common (146) UNRELEASED; urgency=low
+ When no command is given, open a shell.
* pg_createcluster: Add --createclusterconf and --environment options.
* pg_ctlcluster: Create stats_temp_directory when missing.
* pg_ctlcluster: You must run this program as the cluster owner ... or root.
-- Christoph Berg <myon@debian.org> Mon, 01 Jul 2013 11:47:25 +0200
-- Christoph Berg <myon@debian.org> Thu, 04 Jul 2013 14:01:29 +0200
postgresql-common (145) unstable; urgency=low
......
......@@ -419,7 +419,7 @@ if ($> == 0) {
if( $> != $info{'owneruid'} ) {
error 'You must run this program as the cluster owner ('.
(getpwuid $info{'owneruid'})[0].')';
(getpwuid $info{'owneruid'})[0].') or root';
}
$pg_ctl = get_program_path 'pg_ctl', $version;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment