pg_handlebars
pg_uuidv7
Our great sponsors
pg_handlebars | pg_uuidv7 | |
---|---|---|
1 | 4 | |
4 | 232 | |
- | - | |
3.5 | 7.4 | |
4 months ago | about 1 month ago | |
C | C | |
MIT License | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pg_handlebars
-
Generating typescript interfaces for postgres composite types and enums?
Completely agree. I think it would be better to have an extension for generating types, may be a templating based extension similar to https://github.com/RekGRpth/pg_handlebars so that types could be generated close to the source of the types, and done language independently.
pg_uuidv7
-
Shrink UUIDs with PostgreSQL or Ruby
Unfortunately, as of PostgreSQL 16, UUIDv7 are not yet supported out of the box. For the time being, use an extension such as pg_uuidv7 or pg_idkit to generate UUIDv7 e.g. as default primary key when you CREATE new records.
-
UUIDv7 is coming in PostgreSQL 17
https://github.com/fboulnois/pg_uuidv7
It's slightly different from recommendations by draft RFC version (there's no counter), but fully within spec requirements. From practical point there's no difference at all.
- Are there trusted non-cryptographic hashing extensions for Postgresql?
-
UUIDs are obsolete in the age of Docker
Sometimes, I am amazed about what gets on the front page of ycombinator.
TLDR: Don't use UUID v1, since its entropy is based on the Mac address, if your cloud provider is generating the same mac addresses for all your containers.
To say not use UUID's it makes no sense. Use UUIDv7, use them in postgres https://github.com/fboulnois/pg_uuidv7 have fun :)
What are some alternatives?
citus - Distributed PostgreSQL as an extension
pg_math - pg_math extension to support statistical distribution functions for PostgreSQL
pgBackRest - Reliable PostgreSQL Backup & Restore
vasco - vasco: MIC & MINE statistics for Postgres
cli - Supabase CLI. Manage postgres migrations, run Supabase locally, deploy edge functions. Postgres backups. Generating types from your database schema.