I have the following table:
create table my table (id SERIAL PRIMARY KEY,value TEXT);
And I try to find the sequence that serial creates:
SELECT sequence_schema, sequence_name
FROM information_schema.sequences
ORDER BY sequence_name ;
How I can associate a listed serial with table.id Primary Key?