Remove incorrect top-level nullability check
The SQL nullability inference applies to the capability of a certain var
to cointain `NULL`, it does *not* apply to a more general notion of
zero cardinality.
@@ -134,9 +134,6 @@ def top_output_as_value(
args=[pgast.ColumnRef(name=[stmt_res.name])]
)
- # XXX: nullability introspection is not reliable,
- # remove `True or` once it is.
- if True or stmt_res.val.nullable:
new_val = pgast.CoalesceExpr(
args=[
new_val,
