Re: Some compiling warnings

David Rowley <dgrowleyml@gmail.com>

From: David Rowley <dgrowleyml@gmail.com>
To: Richard Guo <guofenglinux@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2023-01-04T23:57:40Z
Lists: pgsql-hackers
On Wed, 4 Jan 2023 at 20:11, Richard Guo <guofenglinux@gmail.com> wrote:
>
> When trying Valgrind I came across some compiling warnings with
> USE_VALGRIND defined and --enable-cassert not configured.  This is
> mainly because in this case we have MEMORY_CONTEXT_CHECKING defined
> while USE_ASSERT_CHECKING not defined.

> Attach a trivial patch for the fix.

I've just pushed that. Thanks.

David



Commits

  1. Fix some compiler warnings in aset.c and generation.c