Re: [INTERFACES] Roadmap for FE/BE protocol redesign

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [INTERFACES] Roadmap for FE/BE protocol redesign
Date: 2003-03-18 22:03:26
Message-ID: Pine.LNX.4.44.0303181551230.3331-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

Bruce Momjian writes:

> What if folks want all their connections autocommit off.

For interactive use, people can record their preferred setting in
~/.psqlrc or something like that.

But any non-interactive program is written with a specific autocommit
setting in mind. Either it assumes that single statements are
automatically committed or it issues explicit COMMIT commands. That
means, the choice of autocommit mode is always ultimately determined by
the client, never by the server or its administrator.

For that very reason most standard interfaces define in their
specification whether applications must assume autocommit behavior or must
not do so.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-03-18 22:03:59 Re: anyone? CREATELANG in pgsql 7.3.2 failing
Previous Message Alvaro Herrera 2003-03-18 20:51:52 Re: Nested transactions

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 2003-03-18 22:18:02 Re: [INTERFACES] Roadmap for FE/BE protocol redesign
Previous Message Dave Page 2003-03-18 14:50:01 Re: [INTERFACES] Upgrading the backend's error-message infrastructure