Wow, works like a treat!!
I'd definitely expect there to be only one way to do it, and for
`service postgresql start 9.3` to have the effect that `service
postgresql pgstart 9.3` has in your patch.
With much thanks,
Eoghan
--
You received this bug notification because you are a member of
Hi Eoghan,
I could reproduce the situation. First installed Postgres 9.3 then 9.4.
ps shows both versions running.
I looked at the /etc/init.d/postgresql script and the status command would
effectively execute this:
echo "`pg_lsclusters -h`" | awk 'BEGIN {rc=0} {if (match($4, "down")) rc=3;
** Changed in: postgresql-common (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to postgresql-common in Ubuntu.
https://bugs.launchpad.net/bugs/1498274
Title:
init.d script doesn't respect
Hi Eoghan,
I found out that the service start, stop and status commands are
interfering with the start(), stop() and status() functions defined in
the /usr/share/postgresql-common/init.d-functions script which is loaded
from /etc/init.d/postgresql
You can have the scripts changed to use commands
** Attachment added: "supporting init.d-functions script"
https://bugs.launchpad.net/ubuntu/+source/postgresql-common/+bug/1498274/+attachment/4473744/+files/init.d-functions
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to
Hi Eoghan,
Can you explain how do you see both 9.4 and 9.3 are started? Which command or
logs are you using or checking?
You state you are running on Ubuntu 15.04 which did not ship with
Postgres 9.3, can you explain how you got postgresql 9.3 on this Ubuntu
release?
--
You received this bug
Hi jeroen,
Thanks for your reply.
Running `ps -elf |grep postg` shows both:
0 S postgres 30213 1 1 80 0 - 331047 poll_s 14:49 ? 00:00:00
/usr/lib/postgresql/9.3/bin/postgres -D /var/lib/postgresql/9.3/main -c
config_file=/etc/postgresql/9.3/main/postgresql.conf
0 S
7 matches
Mail list logo