- After creating an IDENTITY column, there should be a dependency on the sequence, but I don't see this listed.
If the Show System Object is enabled, then only you can see.
Hmm, OK. I turned on "Show System Objects" and I do now see the dependencies. Something seems funky though:
- The sequence has a dependency of the column
- The sequence is dependent on the table
Shouldn't they both be dependencies? It's the table and column that needs the sequence.
- The sequence is only listed as a dependent of the column (which is the opposite of what is seen on the sequence, as you'd expect), but it doesn't show that it's dependent on the table, in the same way that a table lists a schema as a dependency.
Is our SQL messed up here, or is PostgreSQL listing things in a funky way? I'd expect to see:
When clicking on the sequence:
- Dependencies should list the schema.
- Dependents should list the table and column.