#941120 akonadi-backend-postgresql: fails to stop postgresql 11

#941120#5
Date:
2019-09-25 07:41:48 UTC
From:
To:
Dear Sandro,

you may like to consider

Git commit 565700f7fc1d73e337600109867fc01cc647cf13 by Daniel Vrátil.
Committed on 20/06/2019 at 09:51.
Pushed by dvratil into branch 'Applications/19.04'.

Check Postgres status by checking return code of pg_ctl

Summary:
The current code which was checking the standard output of "pg_ctl status",
doesn't work with non-English locale, causing Akonadi to leave Postgres
running after shutdown, because it thinks the db is no longer running.
FIXED-IN: 5.11.3

https://bugs.kde.org/show_bug.cgi?id=386173#c20

for Akonadi for buster.

Thanks,
Martin

#941120#10
Date:
2019-10-10 18:31:33 UTC
From:
To:
Hey Martin,

as I don't use postgresql as backend, can you explain, why this bug it that
annoying, so I should fix that also for stable?

Thanks,

hefee

btw. please use forwarded and other features directly, while you create bug
reports, so they more metadata right away. By the syntax with Control: <cmd>
-1 ...  
This make it easier to track status later on.

#941120#17
Date:
2019-10-10 18:57:14 UTC
From:
To:
Dear Sandro,

Sandro Knauß - 10.10.19, 20:31:33 CEST:
[…]

Hmmm, thinking about it, the case for stable may not be all that strong.
As I do not use stable, I won't need it there.

I am not sure how many Debian users use stable Akonadi with PostgreSQL
and PostgreSQL even appears to pick up the running processes after a
subsequent "akonadictl start". Considering all this, the only annoyance
and confusion is that some PostgreSQL processes keep lingering around.
Some users may be confused about this.

Okay, all in all, not all that convincing arguments for stable. I just
thought if you do all the other fixes, you could put this one in as well.
I considered it to be low risk.

As the fix is in Akonadi 19.04, you may consider to close the bug right
away or close it when uploading Akonadi 19.08 or newer packages.

Best,

#941120#22
Date:
2019-10-16 16:56:19 UTC
From:
To:
Hey,

thanks for your reply.

well the prepared version for stable got already accepted, so there is no open
end. All in all it seems for me like you say, it is just annoying. I fixed it
for debian/buster branch already, but let's see if we need to bundle it with
other fixes.

Please do not close the bug, as it is not fixed! this should be done if 19.08+
packages enters Debian.

hefee