| From: | "Tristan Partin" <tristan(at)neon(dot)tech> |
|---|---|
| To: | "Bruce Momjian" <bruce(at)momjian(dot)us> |
| Cc: | "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Debian 12 gcc warning |
| Date: | 2023-08-29 05:17:29 |
| Message-ID: | CV4RVOD1FIJL.229Q8LM8RRVRW@neon.tech |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Mon Aug 28, 2023 at 2:37 PM CDT, Bruce Momjian wrote:
> I don't see a clean way of avoiding the warning except by initializing
> the array, which seems wasteful.
For what it's worth, we recently committed a patch[0] that initialized
an array due to a similar warning being generated on Fedora 38 (gcc
(GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)).
[0]: https://github.com/postgres/postgres/commit/4a8fef0d733965c1a1836022f8a42ab1e83a721f
--
Tristan Partin
Neon (https://neon.tech)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Drouvot, Bertrand | 2023-08-29 06:17:10 | Re: Autogenerate some wait events code and documentation |
| Previous Message | Kyotaro Horiguchi | 2023-08-29 04:53:34 | Re: Strange presentaion related to inheritance in \d+ |