Skip to content

Add UUIDv7 functions #8385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2025
Merged

Add UUIDv7 functions #8385

merged 1 commit into from
Jul 15, 2025

Conversation

dbeck
Copy link
Member

@dbeck dbeck commented Jul 14, 2025

I add a few UUIDv7 related functions so we don't depend on 3rd party extensions for using UUID v7 in timescaledb. This is very useful for testing the UUID compression across PG pre v18.

@dbeck dbeck requested review from erimatnor, svenklemm and akuzm July 14, 2025 16:27
@dbeck dbeck force-pushed the dbeck/uuid_funcs branch 4 times, most recently from db38887 to 6a8be81 Compare July 14, 2025 16:36
@dbeck dbeck force-pushed the dbeck/uuid_funcs branch 4 times, most recently from 2a77971 to f891bd0 Compare July 15, 2025 10:46
@dbeck dbeck removed the request for review from erimatnor July 15, 2025 10:48
Copy link

codecov bot commented Jul 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.36%. Comparing base (93c74c9) to head (a6b1694).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8385      +/-   ##
==========================================
+ Coverage   82.05%   82.36%   +0.30%     
==========================================
  Files         246      246              
  Lines       46041    46092      +51     
  Branches    11646    11649       +3     
==========================================
+ Hits        37780    37963     +183     
+ Misses       3585     3502      -83     
+ Partials     4676     4627      -49     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dbeck dbeck force-pushed the dbeck/uuid_funcs branch from f891bd0 to 010bea9 Compare July 15, 2025 11:23
I add a few UUIDv7 related functions so we don't depend on
3rd party extensions for using UUID v7 in timescaledb. This
is very useful for testing the UUID compression across pre
PG v18.
@dbeck dbeck force-pushed the dbeck/uuid_funcs branch from 010bea9 to a6b1694 Compare July 15, 2025 12:33
@dbeck dbeck merged commit 1d1169f into main Jul 15, 2025
41 checks passed
@dbeck dbeck deleted the dbeck/uuid_funcs branch July 15, 2025 13:01
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.

3 participants