Passing mac-addresses by value?

From: Aleksander Alekseev <aleksander(at)tigerdata(dot)com>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Passing mac-addresses by value?
Date: 2026-02-25 12:26:21
Message-ID: CAJ7c6TM8up=Yih8pRLPy4wHwLzHf7w22tQ80-8ZBm__E=8_5HA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Mac-addresses are passed by reference. Now when Datums are always
64-bit values we can pass them by value, similarly to Timestamp[Tz].
Are there any concears in respect of change like this e.g. backward
comativility etc?

If not I would like to propose a corresponding path, probably for PG20.

--
Best regards,
Aleksander Alekseev

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-02-25 12:41:04 Re: pg_basebackup: removed an unnecessary use of memset in FindStreamingStart
Previous Message Joel Jacobson 2026-02-25 12:19:06 Re: [BUG?] estimate_hash_bucket_stats uses wrong ndistinct for avgfreq