| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | realyota(at)gmail(dot)com |
| Cc: | Joe Conway <mail(at)joeconway(dot)com>, pgsql-docs(at)lists(dot)postgresql(dot)org |
| Subject: | Re: dblink_error_message return value |
| Date: | 2018-08-08 15:57:17 |
| Message-ID: | 28231.1533743837@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
=?utf-8?q?PG_Doc_comments_form?= <noreply(at)postgresql(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David G. Johnston | 2018-08-08 16:58:43 | Re: dblink_error_message return value |
| Previous Message | Alvaro Herrera | 2018-08-08 15:02:39 | Re: Typo in doc or wrong EXCLUDE implementation |