Skip site navigation (1) Skip section navigation (2)

Re: pg_ctl restart bug

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <jmitchell(at)greatbridge(dot)com>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: pg_ctl restart bug
Date: 2001-04-21 11:06:06
Message-ID: Pine.LNX.4.30.0104211302010.758-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-bugs
Tom Lane writes:

> !     eval '$po_path' '$POSTOPTS' $logopt '&'

> --- 323,335 ----

> !     eval '$po_path' $POSTOPTS $logopt '&'

Actually, I think it needs to be "$POSTOPTS" (double quoted), to preserve
whitespace.

peter ~$ opts="-N -o '-F   -S'"
peter ~$ eval ./argprint $opts
-N
-o
-F -S
peter ~$ eval ./argprint "$opts"
-N
-o
-F   -S
peter ~$ cat argprint
#!/bin/sh

for arg do
  echo "$arg"
done

-- 
Peter Eisentraut   peter_e(at)gmx(dot)net   http://funkturm.homeip.net/~peter


In response to

pgsql-bugs by date

Next:From: Stephan SzaboDate: 2001-04-22 06:20:26
Subject: Re: table named primary
Previous:From: pgsql-bugsDate: 2001-04-21 10:50:50
Subject: TCL error with rserv on Solaris

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group