News for hackers. Stuff that matters.
Re:Type Constraints in 65 lines of SQL by Groxx on Friday February 17, 2023 @04:40PM (#34840943)
* * *
Re:Type Constraints in 65 lines of SQL by oliverrice on Friday February 17, 2023 @07:08PM (#34842372)
sure, if you switch the sql functions for plpgsql functions you can use procedural logic to on each segment and `raise exception` with a custom error message that will get returned to the client