Re: BEGIN WORK READ ONLY; - Mailing list pgsql-general

From David Fetter
Subject Re: BEGIN WORK READ ONLY;
Date
Msg-id 20061014192734.GB15287@fetter.org
Whole thread Raw
In response to BEGIN WORK READ ONLY;  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: BEGIN WORK READ ONLY;
Re: BEGIN WORK READ ONLY;
List pgsql-general
On Sat, Oct 14, 2006 at 11:35:12AM -0700, Joshua D. Drake wrote:
> Hello,
>
> Command Prompt has been teaching alot of classes lately, and one of the
> questions that I received recently was:
>
> What is the use case for a READ ONLY transaction?

It would be handy for things like pgpool and Continuent, which could
reliably distinguish up front the difference between a transaction
that can write and one that can safely be sliced up and dispatched to
read-only databases.

Cheers,
D
> I haven't been able to come up with a good answer. Anyone got a use case
> for this feature? I know the community didn't implement it for giggles.
>
> Sincerely,
>
> 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/
>
> Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faq

--
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: BEGIN WORK READ ONLY;
Next
From: Michael Fuhr
Date:
Subject: Re: BEGIN WORK READ ONLY;