News for hackers. Stuff that matters.
Re:SQL: 2023 Has Been Released by throwaway894345 on Friday June 02, 2023 @03:46PM (#36169916)
By "Rust-like enums", I mean "sum types" or "algebraic data types". In general, it's a way of saying that a piece of data can have one of several different types/shapes (whereas a Postgres enum is basically just a label backed by an int). But yeah, with jsonschema you can probably express sum types, but jsonschema is disappointing for a bunch of reasons and needing an extension is also not great.

There are no comments on this comment yet.