Re: Fix a comment on PQcancelErrorMessage

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: nagata(at)sraoss(dot)co(dot)jp
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Fix a comment on PQcancelErrorMessage
Date: 2024-07-04 05:07:47
Message-ID: 20240704.140747.659172036682314711.t-ishii@sranhm.sra.co.jp.sranhm
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Hi,
>
> Attached is a small patch to fix a comment on PQcancelErrorMessage.
>
> It was accidentally "Get the socket of the cancel connection."
> I rewrote it to "Returns the error message most recently generated
> by an operation on the cancel connection."

Good catch. The proposed message matches the PQCancelErrorMessage()
documentation and looks good.

Best reagards,
--
Tatsuo Ishii
SRA OSS LLC
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2024-07-04 06:08:56 Re: PostgreSQL does not compile on macOS SDK 15.0
Previous Message Alexander Lakhin 2024-07-04 05:00:00 Re: race condition in pg_class