Re: dblink_error_message return value
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: realyota@gmail.com
Cc: Joe Conway <mail@joeconway.com>, pgsql-docs@lists.postgresql.org
Date: 2018-08-08T15:57:17Z
Lists: pgsql-docs
=?utf-8?q?PG_Doc_comments_form?= <noreply@postgresql.org> writes: > The following documentation comment has been logged on the website: > Documentation says: > Return Value > Returns last error message, or an empty string if there has been no error in > this connection. > Which is invalid. > Actually it returns 'OK' string if no error was raised. Good catch! The code's quite clear about it, but the SGML docs need fixed. > Secondly > dblink_is_busy must be first called to make dblink_error_message returns an > error message. (Tested on 9.6.9) Meh. I see what you're getting at here, I think, but that seems like a completely wrong/misleading statement of the issue. Joe, can you think of better phraseology? regards, tom lane
Commits
-
Fix documentation for dblink_error_message() return value
- bc6d7eb689a2 12.0 landed
- 7f39f0344129 11.3 landed
- c17699704998 10.8 landed
- 385627c2c174 9.6.13 landed
- 916b50a5ae0a 9.5.17 landed
- 64f6a65a00b0 9.4.22 landed