Re: How to find the definition of a sequence ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Liviu BURCUSEL <liviu(at)voxline(dot)ro>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to find the definition of a sequence ?
Date: 2003-06-11 14:54:44
Message-ID: 16232.1055343284@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Liviu BURCUSEL <liviu(at)voxline(dot)ro> writes:
> I have a database created by a friend of mine. In it there is a sequence
> called seq_id_top. How can I find out its definition (start, increment,
> max value) ?

SELECT * FROM seq_id_top;

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2003-06-11 14:57:23 Re: insert question..
Previous Message Thomas Kellerer 2003-06-11 14:53:34 Re: insert question..