Re: Serial initial and incremental value - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: Serial initial and incremental value
Date
Msg-id ms6gf4$psc$1@ger.gmane.org
Whole thread Raw
In response to Serial initial and incremental value  ("FarjadFarid\(ChkNet\)" <farjad.farid@checknetworks.com>)
List pgsql-general
FarjadFarid(ChkNet) schrieb am 02.09.2015 um 11:05:
> How can I obtain the initial and incremental value of a serial entity?


You can use:


  select *
  from sequence_name;


where "sequence_name" is the name of the sequence associated with your column.


Thomas

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: BDR setup - bdr_node_join_wait_for_ready()
Next
From: Willy-Bas Loos
Date:
Subject: FDW and BDR