psql sequence question

Поиск
Список
Период
Сортировка
От Jodi Kanter
Тема psql sequence question
Дата
Msg-id 3EEDE12C.30401@virginia.edu
обсуждение исходный текст
Ответы Re: psql sequence question  (Bruno Wolff III <bruno@wolff.to>)
Re: psql sequence question  (Ernest E Vogelsinger <ernest@vogelsinger.at>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Move passwords between databases
Следующее
От: "Daniel Seichter"
Дата:
Сообщение: Backup up Users and grants