Getting information about sequences

Поиск
Список
Период
Сортировка
От Forums @ Existanze
Тема Getting information about sequences
Дата
Msg-id 200605151255.k4FCtaMD023173@auth-smtp.hol.gr
обсуждение исходный текст
Ответы Re: Getting information about sequences  (Martijn van Oosterhout <kleptog@svana.org>)
Список 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 по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: GUI Interface
Следующее
От: Kenneth Downs
Дата:
Сообщение: Re: GUI Interface