[Kde-pim] Review Request 113909: Revisit the PostgreSQL dbconfig

Cédric Villemain cedric at 2ndQuadrant.com
Mon Jan 13 13:32:33 GMT 2014



> On Jan. 13, 2014, 12:44 p.m., Dan Vrátil wrote:
> > server/src/storage/dbconfigpostgresql.cpp, line 194
> > <https://git.reviewboard.kde.org/r/113909/diff/1/?file=214685#file214685line194>
> >
> >     pg_ctl does not have a -k switch, so it has to be passed to postgres command via -o switch
> >     
> >     -o \"-k %1\"
> >     
> >

oops, sorry about that.


> On Jan. 13, 2014, 12:44 p.m., Dan Vrátil wrote:
> > server/src/storage/dbconfigpostgresql.cpp, line 196
> > <https://git.reviewboard.kde.org/r/113909/diff/1/?file=214685#file214685line196>
> >
> >     pg_ctl does not have -h switch, but passing it to postgres via -o switch does not work either - the server refuses to start.
> >     
> >     Since postgres has an "-i" switch to explicitely enable TCP/IP connections, I wonder whether this is needed at all

I kept it because it was here, I just tryed not to have to edit the configuration.
I confirm that Postgresql won't use TCP, until the default configuration is updated.


- Cédric


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/113909/#review47305
-----------------------------------------------------------


On Nov. 17, 2013, 5:55 p.m., Cédric  Villemain wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/113909/
> -----------------------------------------------------------
> 
> (Updated Nov. 17, 2013, 5:55 p.m.)
> 
> 
> Review request for Akonadi.
> 
> 
> Repository: akonadi
> 
> 
> Description
> -------
> 
>     Remove defaultCleanShutdownCommand setting, this used to contain a mix of
>     command and parameters. I kept only the PGDATA in mPgData (new setting).
>     
>     Use the socketDir defined by mHostName (Host setting), set by init() when using
>     an internal server, instead of building the path each time its required.
>     
>     Cosmetic: expand command arguments to longer ones when possible
>               "-D" -> "--pgdata"
>               Change star to 1 in database query check
>               "SELECT *" --> "SELECT 1"
>     
>     Remove PostgreSQL configuration file management, we use the command arguments
>     only.
>     
>     Improve PostgreSQL internal shutdown sequence by issueing FAST then IMMEDIATE
>     the KILL ABRT. (IMMEDIATE wasn't used previously)
> 
> 
> Diffs
> -----
> 
>   server/src/storage/dbconfigpostgresql.h c4c5f19ef8e3f57018e8a7e921a726dc9e5b17dc 
>   server/src/storage/dbconfigpostgresql.cpp 3ca098bff11e3e9824c7b555fe96039329c1fbcf 
> 
> Diff: https://git.reviewboard.kde.org/r/113909/diff/
> 
> 
> Testing
> -------
> 
> no(t yet) :-) (well, it builds)
> 
> Is there a 'make test' or similar I can use for that ?
> 
> 
> Thanks,
> 
> Cédric  Villemain
> 
>

_______________________________________________
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