Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] MVCC works in serialized mode!

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: vadim(at)krs(dot)ru (Vadim Mikheev)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] MVCC works in serialized mode!
Date: 1998-12-25 11:29:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
> > 
> > 7. As I read in Sybase documentation the default
> >    standard transaction mode is _chained_ - all
> >    queries before explicit COMMIT/ABORT are run in _single
> >    transaction_... But we have to use BEGIN/END to get it!
> >    This was not so bad for system with relation level locks,
> >    but now only the same row writes block one other and so
> >    chained mode seems more appropriate...
> > 
> >    Shouldn't we change default transaction mode now?
> >    And use option/SET TRANSACTION MODE to switch to
> >    un-chained mode if one like it?
> No comments on this?
> I would like to make BEGIN implicit...
> Objections?

Informix requires BEGIN.  Ingres does not, but has 'set autocommit'
mode, so each SQL statement is its own transaction, like we have now.

I always felt that if I go in to psql and run a query, I want it
applied.  I don't want to have to commit every query I type.

I know I can use SET TRANSACTION MODE to change this.

What do others think?

  Bruce Momjian                        |
  maillist(at)candle(dot)pha(dot)pa(dot)us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to


pgsql-hackers by date

Next:From: Tatsuo IshiiDate: 1998-12-26 15:11:06
Subject: NetBSD/m68k port
Previous:From: Bruce MomjianDate: 1998-12-25 11:22:01
Subject: Re: [HACKERS] postgresql-6.4.1.tar.gz

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group