[Kde-pim] Akonadi postgresql backend not working

Daniel Vrátil dvratil at redhat.com
Wed May 7 11:20:33 BST 2014


On Wednesday 07 of May 2014 11:59:48 GEO wrote:
> It seems the following code area in
> server/src/storage/dbconfigpostgresql.cpp does not seem to work anymore:
> 
> 160     // avoid binding to tcp port
> 161     content.replace( QLatin1String( "#listen_addresses = 'localhost'" ),
> 162                      QLatin1String( "listen_addresses = ''" ) );
> 
> because I have to manually modify postgresql.conf file to set
> listen_addresses = '' to make akonadi start.

This code is not longer present in 1.12 and master. We got rid of manually 
replacing random stuff in a config file exactly because of this reason :-)

I tried passing "-o \"-h ''\"" to pg_ctl (which passes "-h ''" to postgres) to 
disable the TCP connections, but I was not able to connect to PostgreSQL at 
all, so I need to investigate a bit more.

Dan

> _______________________________________________
> KDE PIM mailing list kde-pim at kde.org
> https://mail.kde.org/mailman/listinfo/kde-pim
> KDE PIM home page at http://pim.kde.org/

-- 
Daniel Vrátil | dvratil at redhat.com | dvratil on #kde-devel, #kontact, #akonadi
KDE Desktop Team
Associate Software Engineer, Red Hat

GPG Key: 0xC59D614F6F4AE348
Fingerprint: 4EC1 86E3 C54E 0B39 5FDD B5FB C59D 614F 6F4A E348
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20140507/46a63791/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list