Re: Sequence Cleanup

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: Sequence Cleanup
Дата
Msg-id 1039468390.1954.2.camel@rh72.home.ee
обсуждение исходный текст
Ответ на Sequence Cleanup  (Rod Taylor <rbt@rbt.ca>)
Список pgsql-hackers
Rod Taylor kirjutas T, 10.12.2002 kell 01:49:
> Below is a short list of TODOs on sequences I wish to tackle over the
> next week.
...
> Ok, this is where it gets confusing.  Right now setval() is implemented
> in such a manner that it cannot be rolled back (see SETVAL NOTE below),
> but I'd like ALTER SEQUENCE to be transaction safe.

All *val('seqname') functions are transaction-unsafe, i.e. live outside
transactions. 

Why would you want alter transaction to be transaction safe ? 


-- 
Hannu Krosing <hannu@tm.ee>


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: DB Tuning Notes for comment...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Sequence Cleanup