You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/03/28 09:34:46 UTC

[GitHub] [shardingsphere] tristaZero commented on issue #9774: no viable alternative error for Postgresql sequence

tristaZero commented on issue #9774:
URL: https://github.com/apache/shardingsphere/issues/9774#issuecomment-808871646


   Hi @jiang-wei ,
   
   @zhujunxxxxx raised a great PR for your issue and will be merged later. But Just a remainder, `create sequence` is for traditional single PostgreSQL, which may not work well in sharding databases.
   If you want to have the global ID in the sharding scenario, I recommend [Distributed Sequence](https://shardingsphere.apache.org/document/current/cn/features/sharding/concept/key-generator/).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org