4 ms·
Editions make the problem worse by requiring the version not only to support the underlying pragmas but also to understand the edition mapping. Example: PRAGMA
by kccqzy 3mo ago
Editions make the problem worse by requiring the version not only to support the underlying pragmas but also to understand the edition mapping.
Example: PRAGMA foo=1 is introduced in 2027. PRAGMA edition=2030 implies this foo pragma. Now you unnecessarily lock out three years worth of releases.
- tptacek 3mo agoI don't see how you don't have the pragma compatibility problem either way. The edition proposal captures a bunch of behaviors that already exist.
- kccqzy 3mo agoYes, the problem exists either way. Editions just exacerbate the problem.
- PunchyHamster 3mo agofeature-set would be a better idea, because it is more explicit on what you are enabling
- amluto 3mo agoThere’s no need to store the literal edition in the DB file. Instead the edition could be a library construct that sets appropriate flags. So if you set edition 2026 you get WAL, etc.