psql sequence question - Mailing list pgsql-admin

From Jodi Kanter
Subject psql sequence question
Date
Msg-id 3EEDE12C.30401@virginia.edu
Whole thread Raw
Responses Re: psql sequence question
Re: psql sequence question
List pgsql-admin
If I'm using transactions (not autocommit), are sequences atomic?

In other words, after inserting a record to a table that 
uses sequence A, am I guaranteed that select last_value on 
sequence A is atomic, and cannot be interfered with by other 
transactions using that same sequence? Sequence A is used by
several tables.

Thanks,
Jodi
-

_______________________________
Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(434) 924-2846
jkanter@virginia.edu


 

 

 

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Move passwords between databases
Next
From: "Daniel Seichter"
Date:
Subject: Backup up Users and grants