About get_relation_constraints and include_notnull

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: About get_relation_constraints and include_notnull
Date: 2016-01-14 05:39:47
Message-ID: 569734A3.9010305@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Why does the argument include_notnull argument exist if
get_relation_constraints() is being called from only one place? Perhaps we
could remove it and add the IS NOT NULL test expression unconditionally if
there are any NOT NULL columns.

Thanks,
Amit

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Bapat 2016-01-14 06:20:43 Re: FDW join pushdown and scanclauses
Previous Message Michael Paquier 2016-01-14 05:38:35 Removing service-related code in pg_ctl for Cygwin