Re: [bug fix] pg_ctl fails with config-only directory - Mailing list pgsql-hackers

From MauMau
Subject Re: [bug fix] pg_ctl fails with config-only directory
Date
Msg-id 27B1B4DF2D044EC4B555DD8372A02F30@maumau
Whole thread Raw
In response to Re: [bug fix] pg_ctl fails with config-only directory  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: [bug fix] pg_ctl fails with config-only directory
List pgsql-hackers
From: "Heikki Linnakangas" <hlinnakangas@vmware.com>
> Hmm, why do this only on Windows? If "postgres -C" is safe enough to run 
> as Administrator on Windows, why not allow running it as root on Unix as 
> well? Even if there's no particular need to allow it as root on Unix, 
> fewer #ifdefs is good.

Yes, I limited the change only to Windows, because I thought I might get get 
objection against unnecessary change.  Plus, --single should not be allowed 
for root, because root cannot be the PostgreSQL user account.

Regards
MauMau




pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: Priority table or Cache table
Next
From: Marti Raudsepp
Date:
Subject: Re: Selecting large tables gets killed