psql feature thought

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: psql feature thought
Date: 2006-05-16 02:58:05
Message-ID: 44693FBD.4090005@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

I was dinking around wand came across something that may (or may not be
useful).

What if single line statements that were seperated by ; within psql were
implicitly within a transaction?

E.g;

postgres=# select * from foo; update foo set bar = 'baz'; delete from bing;

Would be a single transaction ? The begin/commit would be implicit.

Joshua D. Drake

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-05-16 03:18:21 Re: psql feature thought
Previous Message Christopher Kings-Lynne 2006-05-16 02:41:47 Re: audit table containing Select statements submitted