Re: rollback vs. commit for closing read-only transaction

Поиск
Список
Период
Сортировка
От Richard_D_Levine@Raytheon.com
Тема Re: rollback vs. commit for closing read-only transaction
Дата
Msg-id OF9DE23174.03AB465F-ON05256FEF.00491713-05256FEF.004940BB@ftw.us.ray.com
обсуждение исходный текст
Ответ на Re: rollback vs. commit for closing read-only transaction  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
For portability's sake commit successful transactions and rollback those
that fail.

Rick

pgsql-general-owner@postgresql.org wrote on 04/25/2005 05:53:11 PM:

> "Dann Corbit" <DCorbit@connx.com> writes:
> > Probably, turning fsync off would be helpful, since you know it is
> > read-only.
>
> Wouldn't make any difference: a transaction that hasn't modified the
> database doesn't bother to write any commit/abort WAL record at all.
>
>          regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: savepoints
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Migrating MySQL app to postgres?