On Saturday, June 10, 2023, Umut TEKİN <umuttec...@gmail.com> wrote:
> > it does not create any pg_depend entry for this sequence and table pair. So, > it is not possible to track down to find the pairs. Is there any other way to > find the sequence and the table pairs created using method 2? > > Parse the defaults and check for matching sequence names? You can alter a manually created sequence to be owned by a table and thus get the dependency added even in the second case. David J.