Re: Add PQsendSyncMessage() to libpq

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Anton Kirilov <antonvkirilov(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Add PQsendSyncMessage() to libpq
Date: 2023-05-02 00:42:19
Message-ID: ZFBcayUA1E6jdKYD@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Apr 29, 2023 at 05:06:03PM +0100, Anton Kirilov wrote:
> In any case I am not particularly attached to any naming or the exact shape
> of the new API, as long as it achieves the same goal (reducing the number of
> system calls), but before I make any substantial changes to my patch, I
> would like to hear your thoughts on the matter.

Another thing that may matter in terms of extensibility? Would a
boolean argument really be the best design? Could it be better to
have instead one API with a bits32 and some flags controlling its
internals?
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2023-05-02 01:03:52 Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options
Previous Message Michael Paquier 2023-05-01 23:55:09 Re: Add PQsendSyncMessage() to libpq