Re: [PATCHES] Continue transactions after errors in psql

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PATCHES] Continue transactions after errors in psql
Дата
Msg-id 200504260323.j3Q3Nr226246@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] Continue transactions after errors in psql  (Mark Kirkwood <markir@paradise.net.nz>)
Ответы Re: [PATCHES] Continue transactions after errors in psql
Список pgsql-hackers
Mark Kirkwood wrote:
> Bruce Momjian wrote:
> > 
> >     disable it by default for all sessions (current patch)
> >     enable it by default only for interactive sessions, like AUTOCOMMIT
> 
> These two seem like the best contenders.
> 
> The choice comes down to whether we should:
> 
> 1) Be like most other dbms's (e.g. Oracle, Firebird) + follow the spec.
> 2) Minimize psql behavior changes for current postgresql users.
> 
> Personally I favor 1), so would prefer:
> 
> enable it by default only for interactive sessions, like AUTOCOMMIT

We are going for 'off' by default and only interactive.  The fact that
interactive and non-interactive behavior is different is something that
suggests that turning it on by default might cause confusion.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: [PATCHES] Continue transactions after errors in psql
Следующее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: simplify register_dirty_segment()