4 ms·
i just started using ksuid[0] as my postgres (and in general) primary keys [0] https://github.com/segmentio/ksuid https://github.com/segmentio/ksuid
by hankchinaski 6y ago
i just started using ksuid[0] as my postgres (and in general) primary keys
[0] https://github.com/segmentio/ksuid https://github.com/segmentio/ksuid
- c17r 6y agoJust came to say the same thing. While not 100% bulletproof as neither go nor pgsql internals are areas of experience, I’ve managed to cobble enough together so ksuid is a valid pgsql type with the ability to auto-create during a record insert.