Re: Improve the granularity of PQsocketPoll's timeout parameter? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Improve the granularity of PQsocketPoll's timeout parameter?
Date
Msg-id 1509298.1718216711@sss.pgh.pa.us
Whole thread Raw
In response to Re: Improve the granularity of PQsocketPoll's timeout parameter?  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Improve the granularity of PQsocketPoll's timeout parameter?
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Wed, Jun 12, 2024 at 1:53 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> * I decided to invent a typedef
>> typedef pg_int64 PGusec_time_t;

> I don't think it's a bad idea to have a typedef, but that particular
> one is pretty unreadable. Mmm, let's separate some things with
> underscores and others by a change in the capitalization conventIon!

"PG" as a prefix for typedefs in libpq-fe.h is a pretty ancient
precedent.  I'm not wedded to any of the rest of it --- do you
have a better idea?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Proposal for Updating CRC32C with AVX-512 Algorithm.
Next
From: Robert Haas
Date:
Subject: Re: On disable_cost