]> git.pld-linux.org Git - packages/postgresql.git/blobdiff - postgresql-pg_ctl-nopsql.patch
- merged DEVEL branch
[packages/postgresql.git] / postgresql-pg_ctl-nopsql.patch
index 778c7c37c4269614d37f2ca34cb22d2704e38667..f373afc3e8076cb4e1abfb4ca155788720ba2d62 100644 (file)
@@ -1,6 +1,6 @@
---- src/bin/pg_ctl/pg_ctl.sh   Sat Sep 29 05:09:32 2001
-+++ src/bin/pg_ctl/pg_ctl.sh.mis       Mon Mar 24 23:16:48 2002
-@@ -96,12 +96,12 @@
+--- src/bin/pg_ctl/pg_ctl.sh.orig      2003-08-05 01:59:39.000000000 +0200
++++ src/bin/pg_ctl/pg_ctl.sh   2003-08-08 22:04:34.000000000 +0200
+@@ -98,12 +98,12 @@
  fi
  
  # Check if needed programs actually exist in path
 +elif [ -x "$bindir/postmaster" ]; then
      PGPATH="$bindir"
  else
--    echo "The programs 'postmaster' and 'psql' are needed by $CMDNAME but" 1>&2
-+    echo "The program 'postmaster' is needed by $CMDNAME but" 1>&2
-     echo "were not found in the directory '$bindir'." 1>&2
+-    echo "The programs \"postmaster\" and \"psql\" are needed by $CMDNAME but" 1>&2
++    echo "The programs \"postmaster\" is needed by $CMDNAME but" 1>&2
+     echo "were not found in the directory \"$bindir\"." 1>&2
      echo "Check your installation." 1>&2
      exit 1
-@@ -370,8 +370,10 @@
- # 6) If the dynamic loader is not set up correctly (for this user/at
- #    this time), psql will fail (to find libpq).
- # 7) If psql is misconfigured, this may fail.
--          if "$PGPATH/psql" -l >/dev/null 2>&1
--          then
-+
-+# YES, this is horribly misconceived.
-+
-+          if ps -C postmaster >/dev/null 2>&1; then
-               break;
-           else
-               $silence_echo $ECHO_N "."$ECHO_C
This page took 0.035739 seconds and 4 git commands to generate.