dbTalk Databases Forums  

Sequences

comp.databases.postgresql comp.databases.postgresql


Discuss Sequences in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andre Rothe
 
Posts: n/a

Default Sequences - 07-03-2009 , 08:43 AM






Hi!

Where are stored the sequence information? How I can query the
properties of a sequence like increment, max/min value, cache?
I'm looking for a table like user_sequences in Oracle, where I
can query all of my sequences.

Thanks
Andre

Reply With Quote
  #2  
Old   
Thomas Kellerer
 
Posts: n/a

Default Re: Sequences - 07-03-2009 , 09:01 AM






Andre Rothe, 03.07.2009 14:43:
Quote:
Hi!

Where are stored the sequence information? How I can query the
properties of a sequence like increment, max/min value, cache?
I'm looking for a table like user_sequences in Oracle, where I
can query all of my sequences.
http://www.postgresql.org/docs/curre...sequences.html

But

SELECT *
FROM sequence_name

gives more detailed information

Thomas

Reply With Quote
  #3  
Old   
Andre Rothe
 
Posts: n/a

Default Re: Sequences - 07-03-2009 , 09:29 AM



Hi,

So I can look into information_schema.sequences for all the names
and then I can query every sequence name for details. Nice.

Thanks a lot
Andre

Thomas Kellerer wrote:
Quote:
Andre Rothe, 03.07.2009 14:43:
Hi!

Where are stored the sequence information? How I can query the
properties of a sequence like increment, max/min value, cache?
I'm looking for a table like user_sequences in Oracle, where I
can query all of my sequences.

http://www.postgresql.org/docs/curre...sequences.html

But
SELECT * FROM sequence_name

gives more detailed information

Thomas

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.