pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-sql@postgresql.org
Subject: Re: SEQUENCES
Date: Mon, 02 Oct 2006 18:51:04 +0200
Message-ID: <efrg1p$1av$1@sea.gmane.org> (raw)
In-Reply-To: <001801c6e641$6093f5d0$4700a8c0@TREEZANTHUS>
References: <001801c6e641$6093f5d0$4700a8c0@TREEZANTHUS>

Rodrigo Sakai wrote on 02.10.2006 18:39:
>   Hi all,
> 
>  
> 
>   I need to get all sequences and their respective current values! Is there
> any catalog table or any other away to get this???
> 
>  

Quote from the manual at:
http://www.postgresql.org/docs/8.1/static/catalog-pg-class.html

"The catalog pg_class catalogs tables and most everything else that has columns 
or is otherwise similar to a table. This includes indexes (but see also 
pg_index), sequences, views, composite types"

Thomas





view thread (19+ messages)  latest in thread

Message-ID: <efrg1p$1av$1@sea.gmane.org>
Permalink:  ../efrg1p$1av$1@sea.gmane.org/
Also on:    postgresql.org/message-id/efrg1p$1av$1@sea.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: SEQUENCES
  In-Reply-To: <efrg1p$1av$1@sea.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox