Re: Move the "DR_intorel" struct to a more suitable position

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org, "zk(dot)wang" <zackery(dot)wang(at)qq(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Move the "DR_intorel" struct to a more suitable position
Date: 2022-03-16 03:24:02
Message-ID: 416840B2-4E4E-46E5-A0D6-D5A2B68E5ADA@anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On March 15, 2022 8:16:58 PM PDT, "zk.wang" <zackery(dot)wang(at)qq(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Julien Rouhaud 2022-03-16 03:25:46 Re: Move the "DR_intorel" struct to a more suitable position
Previous Message zk.wang 2022-03-16 03:16:58 Move the "DR_intorel" struct to a more suitable position