]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- take care of multiple clusters when starting postmaster /qboosh,me/
authorwrobell <wrobell@pld-linux.org>
Tue, 30 Mar 2004 15:06:13 +0000 (15:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postgresql-pg_ctl-nopsql.patch -> 1.4

postgresql-pg_ctl-nopsql.patch

index 4f561fbd974f69c6c44dbcbe8412297eb34bb6df..81d31ebe841d3eaa705e967c0c7d3d1ae6ac0a2b 100644 (file)
@@ -22,7 +22,7 @@
        do
 -          if "$PGPATH/psql" -p $PGPORT -l >/dev/null 2>&1
 +          # YES, this is horribly misconceived.
-+          if ps -C postmaster >/dev/null 2>&1
++          if ps ax | grep -q "[p]ostmaster -D $PGDATA" >/dev/null 2>&1
            then
                break;
            else
This page took 0.139021 seconds and 4 git commands to generate.