Re: autocommit in 7.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: autocommit in 7.4
Дата
Msg-id 27872.1059626473@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: autocommit in 7.4  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: autocommit in 7.4
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Is there a reason autocommit is implemented in psql and not in libpq via
> a C function call?

One reason is that PQexec accepts multiple-query strings (possibly with
embedded BEGIN/END), so it's not immediately obvious what the semantics
ought to be.  We could probably work out some reasonable definition if
we wanted to put effort into it, but seeing that libpq clients aren't
historically expecting any autocommit support, I didn't find it a high
priority task for 7.4.

At this point it's definitely too late for 7.4, anyway.  Put it on the
TODO list if you feel strongly about it.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Claudio Natoli
Дата:
Сообщение: Re: Win32 for 7.5... how to help?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: this is in plain text (row level locks)