mirror of https://github.com/postgres/postgres
casting effort whenever the input value was NULL. However this prevents application of not-null domain constraints in the cases that use this function, as illustrated in bug #4741. Since this function isn't meant for use in performance-critical paths anyway, this certainly seems like another case of "premature optimization is the root of all evil". Back-patch as far as 8.2; older versions made no effort to enforce domain constraints here anyway.REL8_5_ALPHA1_BRANCH
parent
bfd17f94b6
commit
24a814f441
Loading…
Reference in new issue