Re: BEGIN WORK READ ONLY;

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: BEGIN WORK READ ONLY;
Дата
Msg-id 20061014192734.GB15287@fetter.org
обсуждение исходный текст
Ответ на BEGIN WORK READ ONLY;  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: BEGIN WORK READ ONLY;  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BEGIN WORK READ ONLY;  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: BEGIN WORK READ ONLY;
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: BEGIN WORK READ ONLY;