I see what you mean. I wanted to avoid situation similar to 
```
ATL::CString s; // ATL/MFC
delete s;
```

I still think it's a good idea to improve ```postgresql_result```, separate responsibilities a bit, and I have idea how to do it, but instead of describing, I will show code as soon as I complete battle with CMake and layout changes :)