Re: Move the "DR_intorel" struct to a more suitable position - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Move the "DR_intorel" struct to a more suitable position
Date
Msg-id 416840B2-4E4E-46E5-A0D6-D5A2B68E5ADA@anarazel.de
Whole thread Raw
In response to Move the "DR_intorel" struct to a more suitable position  ("zk.wang" <zackery.wang@qq.com>)
List pgsql-hackers
Hi,

On March 15, 2022 8:16:58 PM PDT, "zk.wang" <zackery.wang@qq.com> wrote:
>Generally, we should define struct in the header file(.h).

Why? It's perfectly sensible to define types in .c files when they're not used elsewhere.

Greetings,

Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.



pgsql-hackers by date:

Previous
From: "zk.wang"
Date:
Subject: Move the "DR_intorel" struct to a more suitable position
Next
From: Julien Rouhaud
Date:
Subject: Re: Move the "DR_intorel" struct to a more suitable position