Table customization with default db generated value possible? #1343
Unanswered
smaktacular
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
please consider the following table:
Is there a table generation option that allows one to specify the "DEFAULT" part, here the generate_id() function in combination with a custom id generation or the NoOpIdGeneration strategy?
The reason for using this and not e.g. HiLo generation is that we want to make use of systemwide sequential, unique ids, while supporting sharding. See:
[(https://rob.conery.io/2014/05/28/a-better-id-generator-for-postgresql/)]
Regards
Beta Was this translation helpful? Give feedback.
All reactions