Re: Improve the granularity of PQsocketPoll's timeout parameter?

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org, Tristan Partin <tristan@partin.io>, Dominique Devienne <ddevienne@gmail.com>
Date: 2024-06-12T19:08:14Z
Lists: pgsql-hackers
On Wed, Jun 12, 2024 at 3:00 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Hmm ... pg_int64 is the only such typedef I'm seeing in that file.

I grepped the whole directory for '^} '.

> But okay, it's a precedent.  The thing I'm having difficulty with
> is that I'd like the typedef name to allude to time_t, and I don't
> think fooling with the casing of that will be helpful in making
> the allusion stick.  So how about one of
>
>         pg_usec_time_t
>         pg_time_t_usec
>
> ?

The former seems better to me, since having _t not at the end does not
seem too intuitive.

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



Commits

  1. Improve the granularity of PQsocketPoll's timeout parameter.