*
*/
-#include "postgresql_store.h"
-
-#include "postgresql_store_utils.h"
-#include "postgresql_store.h"
-
-#include "stg/module_settings.h"
-#include "stg/plugin_creator.h"
-
#include <string>
#include <vector>
#include <libpq-fe.h>
+#include "stg/module_settings.h"
+#include "stg/plugin_creator.h"
+#include "postgresql_store_utils.h"
+#include "postgresql_store.h"
+
namespace
{
PLUGIN_CREATOR<POSTGRESQL_STORE> pgsc;
int POSTGRESQL_STORE::ParseSettings()
{
std::vector<PARAM_VALUE>::iterator i;
+std::string s;
for(i = settings.moduleParams.begin(); i != settings.moduleParams.end(); ++i)
{
if (i->value.empty())
continue;
- std::string s = ToLower(i->param);
+ s = ToLower(i->param);
if (s == "server")
{
server = i->value.front();