Re: Read-only transactions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Read-only transactions
Дата
Msg-id 8186.1041898522@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Read-only transactions  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Read-only transactions  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> I would like to implement read-only transactions following the SQL spec,
> ...
> I think it's light-weight and marginally useful.

"Light-weight" would depend on your intended implementation, I suppose.
Where are you planning to check this?

Also, the fact that you are excluding temp tables seems to suggest that
this is a very high-level, abstract notion of read-only-ness; it's
certainly got little to do with whether we try to write on the disk.
As such it's not clear to me why vacuum and checkpoint are included in
the forbidden list.  They don't logically change any data.  The same
might be said of reindex.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Read-only transactions
Следующее
От: "Dann Corbit"
Дата:
Сообщение: I feel the need for speed. What am I doing wrong?