From: edechaux at irci dot fr
Operating system: Linux 2.4.21
PHP version: 4.3.3
PHP Bug Type: PostgreSQL related
Bug description: postgres error message include \n characters

When a connection to a Postgres database fails, the error message which is
in the $php_errormsg variable ends with the following string : '\n\n.'

The final '.' is quite anoying because you just can't 'trim' the
$php_errormsg, you must 'trim ($php_errormsg, "\n.")' to remove the dot
and the newline characters.

Could it be possible to remove the final dot, or even the final '\n\n.'
string ?


Edit bug report at [url][/url]
Try a CVS snapshot (php4): [url][/url]
Try a CVS snapshot (php5): [url][/url]
Fixed in CVS: [url][/url]
Fixed in release: [url][/url]
Need backtrace: [url][/url]
Try newer version: [url][/url]
Not developer issue: [url][/url]
Expected behavior: [url][/url]
Not enough info: [url][/url]
Submitted twice: [url][/url]
register_globals: [url][/url]
PHP 3 support discontinued: [url][/url]
Daylight Savings: [url][/url]
IIS Stability: [url][/url]
Install GNU Sed: [url][/url]
Floating point limitations: [url][/url]