how to get all the sequences and columns to which sequence is applied using single query in psql ? any direct or indirect way to get the list? : I want **to get all the sequences created, tables and columns to which that sequence is applied in a database** using a **single query** in **PostgreSQL**. Any direct or indirect method is helpful.