Re: sockaddr_un.sun_len vs. reality

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: sockaddr_un.sun_len vs. reality
Date: 2022-08-23 03:43:14
Message-ID: 477530.1661226194@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thomas Munro <thomas(dot)munro(at)gmail(dot)com> writes:
> I was nerd-sniped by the historical context of this single line of
> code. I'd already wondered many times (not just in PostgreSQL)
> whether and when that became a cargo-cult practice, replicated from
> other software and older books like Stevens. I failed to find any
> sign of an OS that needs it today, or likely even needed it this
> millennium. Now I'd like to propose removing it.

Seems worth a try.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2022-08-23 04:01:52 Re: Perform streaming logical transactions by background workers and parallel apply
Previous Message Andres Freund 2022-08-23 03:42:33 Re: Inconsistencies around defining FRONTEND