mapnik/mapnik — Issue #955: if postgres connection fails no message is reported for error
Author: springmeyer
Created: 2011-11-16 18:12:34+00:00
State: open

On OS X 10.7 at least I'm seeing that the line:

```
std::ostringstream s("Postgis Plugin: PSQL error");
```

ends up getting trucated, so that nothing is printed. Doing this fixes it so that at least `Postgis Plugin:` is printed.

```diff

- std::ostringstream s("Postgis Plugin: PSQL error");
+ // note: empty ctor is intentional here
+ // as somehow constructor string can dissapear
+ std::ostringstream s;
+ s << "Postgis Plugin: ";
```