Check if user setting pair exists before inserting/updating it.
authorFelix Geyer <debfx@fobos.de>
Tue, 9 Oct 2012 16:47:01 +0000 (18:47 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 19 Feb 2013 21:30:01 +0000 (22:30 +0100)
commitc371e27b23667e05cccffb200acfb35f5af2a64a
tree00be81f889358173e569c7bf37c4b9c5afe01f94
parent983c08ec7b6facf428ddc29deddb5fc46a44b10b
Check if user setting pair exists before inserting/updating it.

If it exists it's inserted else the date is updated.
This fixes a (harmless) error that clutters the postgres log.
Fixes #958
src/core/postgresqlstorage.cpp