Re: pointless check in RelationBuildPartitionDesc
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Michael Paquier <michael@paquier.xyz>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2018-09-04T16:50:25Z
Lists: pgsql-hackers
Attachments
- ispartition.patch (text/plain) patch
Proposed patch. Checking isnull in a elog(ERROR) is important, because the column is not marked NOT NULL. This is not true for other columns where we simply do Assert(!isnull). -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Simplify partitioned table creation vs. relcache
- 52ab02d593e9 11.0 landed
- 2fbdf1b38bc5 12.0 landed