[Linux-ha-dev] Re: pgsql and quotes

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Dec 10 11:58:14 MST 2007


Hi,

On Mon, Dec 10, 2007 at 09:07:26AM -0700, Serge Dubrouski wrote:
> It will not. Why do you want to make this change?

No, I don't want to change, but was just wondering if it were
right. It sure confused the vim's syntax highlighting.

Thanks,

Dejan

> I'll create a patch for moving that check for root down the code today.
> 
> On Dec 10, 2007 7:26 AM, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> > Hi Serge,
> >
> > Is this thing going to work:
> >
> > 197     if runasowner "$OCF_RESKEY_pgctl $OCF_RESKEY_ctl_opt -D $OCF_RESKEY_pgdata -l $OCF_RESKEY_logfile -o "\'$OCF_RESKEY_start_opt\'" start > /dev/null 2 >&1"
> >
> > Should it be:
> >
> > 197     if runasowner "$OCF_RESKEY_pgctl $OCF_RESKEY_ctl_opt -D $OCF_RESKEY_pgdata -l $OCF_RESKEY_logfile -o \"\'$OCF_RESKEY_start_opt\'\" start > /dev/null 2 >&1"
> >
> > Also, the test for root is too early, i.e. at least one should be
> > able to run meta-data as any user.
> >
> > Thanks,
> >
> > Dejan
> >
> 
> 
> 
> -- 
> Serge Dubrouski.
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/


More information about the Linux-HA-Dev mailing list