On 2019-04-29 18:28, Laurenz Albe wrote: > I still think thatthat there is merit to Michael's idea of removing > sequence "ownership" (which is just a dependency) when the DEFAULT > on the column is dropped, but this approach is possibly cleaner.
I think the proper way to address this would be to create some kind of dependency between the sequence and the default. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services