Skip to content

Conversation

@mpscholten
Copy link
Member

PostgreSQL 18 introduces native uuidv7() and uuidv4() functions, eliminating the need for the uuid-ossp extension. UUIDv7 provides time-ordered UUIDs that are better for database indexing and reduce B-tree fragmentation compared to random UUIDv4.

Changes:

  • Remove uuid-ossp extension from IHPSchema.sql
  • Use uuidv7() as default for new tables in Schema Designer
  • Update code generators to use uuidv7()
  • Add uuidv7() and uuidv4() to recognized SQL functions
  • Maintain backward compatibility for parsing uuid_generate_v4()
  • Update all documentation and tests

PostgreSQL 18 introduces native uuidv7() and uuidv4() functions,
eliminating the need for the uuid-ossp extension. UUIDv7 provides
time-ordered UUIDs that are better for database indexing and reduce
B-tree fragmentation compared to random UUIDv4.

Changes:
- Remove uuid-ossp extension from IHPSchema.sql
- Use uuidv7() as default for new tables in Schema Designer
- Update code generators to use uuidv7()
- Add uuidv7() and uuidv4() to recognized SQL functions
- Maintain backward compatibility for parsing uuid_generate_v4()
- Update all documentation and tests

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants