Re: [Proposal] Global temporary tables
От | Pavel Stehule |
---|---|
Тема | Re: [Proposal] Global temporary tables |
Дата | |
Msg-id | CAFj8pRCnHvditiNKtGAByfzLjayOg0AZT-KXFvELvtfGJLRL8w@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [Proposal] Global temporary tables ("曾文旌(义从)" <wenjing.zwj@alibaba-inc.com>) |
Ответы |
Re: [Proposal] Global temporary tables
|
Список | pgsql-hackers |
út 28. 1. 2020 v 17:01 odesílatel 曾文旌(义从) <wenjing.zwj@alibaba-inc.com> napsal:
I complete the implementation of this feature.2020年1月24日 上午4:47,Robert Haas <robertmhaas@gmail.com> 写道:On Sat, Jan 11, 2020 at 8:51 PM Tomas Vondra
<tomas.vondra@2ndquadrant.com> wrote:I proposed just ignoring those new indexes because it seems much simpler
than alternative solutions that I can think of, and it's not like those
other solutions don't have other issues.
+1.When a session x create an index idx_a on GTT A thenFor session x, idx_a is valid when after create index.For session y, before session x create index done, GTT A has some data, then index_a is invalid.For session z, before session x create index done, GTT A has no data, then index_a is valid.For example, I've looked at the "on demand" building as implemented in
global_private_temp-8.patch, I kinda doubt adding a bunch of index build
calls into various places in index code seems somewht suspicious.
+1. I can't imagine that's a safe or sane thing to do.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL CompanyOpinion by Pavel+ rel->rd_islocaltemp = true; <<<<<<< if this is valid, then the name of field "rd_islocaltemp" is not probably bestI renamed rd_islocaltemp
I don't see any change?
Opinion by Konstantin Knizhnik1 Fixed comments2 Fixed assertionPlease help me review.Wenjing
В списке pgsql-hackers по дате отправления: