Re: pgsql: Catalog NOT NULL constraints

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Catalog NOT NULL constraints
Date: 2023-04-11 10:45:45
Message-ID: CAApHDvoMyiZVi1KW5WVdqMRzWsWkD3F7n6QD+BbAO6WTeAWsUQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Sat, 8 Apr 2023 at 06:09, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> wrote:
> Catalog NOT NULL constraints

I think transformTableLikeClause() contains a small issue because
process_notnull_constraints is not set to false by default.

Per valgrind, it looks like the variable can be uninitialised by the
time it's referenced around line 1221.

David

Attachment Content-Type Size
init_process_notnull_constraints_to_false.patch application/octet-stream 576 bytes

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2023-04-11 11:01:45 pgsql: Fix uninitialized variable in transformTableLikeClause()
Previous Message David Rowley 2023-04-11 07:40:47 Re: pgsql: Add VACUUM/ANALYZE BUFFER_USAGE_LIMIT option