model-writtenrun 5185 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported that NetBSD's uuid_create() returned version-4 UUIDs where uuid-ossp expected version 1, contradicting PostgreSQL's documentation; he initially suggested documenting the limitation rather than implementing a UUID generator #1.
- Andres Freund proposed raising errors instead of silently returning incorrect UUIDs, with alternative expected regression output, and Tom agreed that errors could be appropriate #2 #3.
- Nazir Bilal Yavuz supplied a patch rejecting version-1 generation unconditionally on NetBSD, but Tom pointed out that older NetBSD releases worked and requested checking the generated UUID's version instead #4 #5.
- Nazir revised the patch to inspect the UUID version in uuid_generate_internal(), retaining alternative expected errors and asking whether the check should cover all BSD implementations and report the actual version #6.
- Tom committed the revised check as c4b6d218e3, with a safer buffer access, clearer diagnostics and documentation corrections; he excluded the alternative expected output because regression failures should expose the unsupported configuration #7.
- Andres subsequently proposed platform-specific expected results through resultmap to simplify automated testing, but Tom defended keeping failures visible to users and packagers; Andres accepted that reasoning, leaving the fix committed and the alternative expected output excluded #8 #9 #10.