pike.git/
lib/
modules/
Sql.pmod/
pgsql.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2017-07-10
2017-07-10 11:57:27 by Stephen R. van den Berg <srb@cuci.nl>
e1d61c572876f31e1e74c9802aa8667b74d7ea17 (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
8.1
pgsql: Clean up transient error/warning messages.
1273:
/* * Flush out any asynchronously reported errors to stderr; because we are * inside a destructor, throwing an error will not work anymore.
+
* Warnings will be silently discarded at this point.
*/
-
+
lastmessage = filter(lastmessage, has_prefix, "ERROR ");
if (err || (err = catch(errstring = error(1)))) werror(describe_backtrace(err)); else if (errstring && sizeof(errstring))
-
werror(errstring);
+
werror(
"%s\n",
errstring);
// Add missing terminating newline
} final void _connectfail(void|mixed err) {