Re: Autonomous Transaction (WIP)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Autonomous Transaction (WIP)
Дата
Msg-id 31328.1397060453@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Autonomous Transaction (WIP)  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Wed, Apr 9, 2014 at 12:24 AM, Rajeev rastogi
> <rajeev.rastogi@huawei.com> wrote:
>> Now when we grant the lock to particular transaction, depending on type of transaction, bit
>> Mask will be set for either holdMaskByAutoTx or holdMaskByNormalTx.
>> Similar when lock is ungranted, corresponding bitmask will be reset.

> That sounds pretty ugly, not to mention the fact that it will cause a
> substantial increase in the amount of memory required to store
> PROCLOCKs.  It will probably slow things down, too.

More to the point, why isn't it a flat-out bad idea?  I can see no
justification for distinguishing normal and autonomous transactions
at this level.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [DOCS] Call for GIST/GIN/SP-GIST opclass documentation
Следующее
От: Emre Hasegeli
Дата:
Сообщение: Re: GiST support for inet datatypes