Getting information about sequences - Mailing list pgsql-general

From Forums @ Existanze
Subject Getting information about sequences
Date
Msg-id 200605151255.k4FCtaMD023173@auth-smtp.hol.gr
Whole thread Raw
Responses Re: Getting information about sequences  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
Hello all,
 
I would like to ask if anyone can explain or point me to some sort of query that would get the sequences for a database along with the current value they contain.
 
I have been able to get the sequence names, but I can get their values all in one query. From the documentation I can't use currval() because it needs setval() to precede it in the same session.
 
Any ideas?
 
Best Regards,
Fotis
 

pgsql-general by date:

Previous
From: "Dave Page"
Date:
Subject: Re: GUI Interface
Next
From: Kenneth Downs
Date:
Subject: Re: GUI Interface