Re: Explicit NULL dereference (src/backend/commands/tablecmds.c) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Explicit NULL dereference (src/backend/commands/tablecmds.c)
Date
Msg-id 1512089.1620915048@sss.pgh.pa.us
Whole thread Raw
In response to Explicit NULL dereference (src/backend/commands/tablecmds.c)  (Ranier Vilela <ranier.vf@gmail.com>)
List pgsql-hackers
Ranier Vilela <ranier.vf@gmail.com> writes:
> It is agreed that asserts should be used for error conditions that can
> never occur in the release.
> But with errors that can occur, using assert does not make sense.

On what grounds do you claim that those asserts are wrong?

Coverity's opinion counts for just about nothing these days.
A test case causing a crash would count, of course.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Explicit NULL dereference (src/backend/commands/tablecmds.c)
Next
From: vignesh C
Date:
Subject: Re: alter subscription drop publication fixes