Re: making relfilenodes 56 bits - Mailing list pgsql-hackers

From Tom Lane
Subject Re: making relfilenodes 56 bits
Date
Msg-id 4155535.1659125301@sss.pgh.pa.us
Whole thread Raw
In response to Re: making relfilenodes 56 bits  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: making relfilenodes 56 bits
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I was taught that when programming in C one should avoid returning a
> struct type, as BufTagGetRelFileLocator does.

FWIW, I think that was invalid pre-ANSI-C, and maybe even in C89.
C99 and later requires it.  But it is pass-by-value and you have
to think twice about whether you want the struct to be copied.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: making relfilenodes 56 bits
Next
From: Tom Lane
Date:
Subject: Re: enable/disable broken for statement triggers on partitioned tables