Re: Add PQsendSyncMessage() to libpq

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

On Mon, May 1, 2023 at 8:42 PM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> 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?

I wondered that, too. If we never add any more Boolean parameters to
this function then that would end up a waste, but maybe we will and
then it will be genius. Not sure what's best.

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2023-05-02 14:29:38 Re: ICU locale validation / canonicalization
Previous Message Dagfinn Ilmari Mannsåker 2023-05-02 12:19:49 Re: Tab completion for CREATE SCHEMAAUTHORIZATION