Re: Question about VACUUM behavior with sub-transactions in stored procedures
От | David G. Johnston |
---|---|
Тема | Re: Question about VACUUM behavior with sub-transactions in stored procedures |
Дата | |
Msg-id | CAKFQuwabMFmHtNicAi1QUJB+Q6PZn1twh2zfwqFX1_81moMXQw@mail.gmail.com обсуждение исходный текст |
Ответ на | Question about VACUUM behavior with sub-transactions in stored procedures (Кириллов Вячеслав <vkirillov@diasoft.ru>) |
Ответы |
Re: Question about VACUUM behavior with sub-transactions in stored procedures
|
Список | pgsql-hackers |
On Monday, October 21, 2024, Кириллов Вячеслав <vkirillov@diasoft.ru> wrote:
I have a question regarding the behavior of the auto VACUUM in PostgreSQL in the context of using stored procedures with sub-transactions.
This is a general usage inquiry not suited to discussion on -hackers. We have a -general mailing list to discuss how to use the product. This list is for discussing patches.
Here is the scenario: we have several stored procedures that modify or update table data. These procedures use sub-transactions, which are committed via
COMMIT
.
This isn’t how sub-transactions work. They are created mainly by save points and are not independently committed (by the user in SQL). What you are using are full transactions.
David J.
В списке pgsql-hackers по дате отправления: