Sorry if this is a FAQ, but I didn't find a definitive and recent answer in the list archives or the postgres docs. Do transactions work on create / alter / drop statements? In other words, can I choose to commit or rollback after a bunch of schema changes?
On Fri, 25 Apr 2003, Forest Wilkinson wrote: Yes it does. As explain by Tom , TRUNCATE IS the only command which cannot be done inside a transaction. even that restriction will go away in 7.4 version Regds Mallah > Sorry if this is a FAQ, but I didn't find a definitive and recent > answer in the list archives or the postgres docs. Do transactions > work on create / alter / drop statements? In other words, can I > choose to commit or rollback after a bunch of schema changes? > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org >
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера