Re: chained transactions

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: chained transactions
Дата
Msg-id alpine.DEB.2.21.1811041203540.7070@lancre
обсуждение исходный текст
Ответ на Re: chained transactions  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: chained transactions  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
Hello Peter,

> Attached is a rebased patch set.  No functionality changes.

Patch applies cleanly, compile, global make check ok, doc gen ok.

Shouldn't psql tab completion be updated as well?

About the code:

I must admit that do not like much the three global variables & 
Save/Restore functions. I'd suggest saving directly into 3 local variables 
in function CommitTransactionCommand, and restoring them when needed. Code 
should not be longer. I'd would not bother to skip saving when not 
chaining.

Copying & comparing nodes are updated. Should making, outing and reading 
nodes also be updated?

About the tests: I'd suggest to use more options on the different tests, 
eg SERIALIZABLE, READ ONLY… Also ISTM that tests should show 
transaction_read_only value as well.

-- 
Fabien.

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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: pg_dump multi VALUES INSERT
Следующее
От: Dmitry Dolgov
Дата:
Сообщение: Re: [HACKERS] Lazy hash table for XidInMVCCSnapshot (helps Zipfian a bit)