Re: Lock acquisition for partition table when setting generic plan

2020-01-15 Thread Tom Lane
"yotsunaga.na...@fujitsu.com" writes: > I did the following. > Even though I accessed one partition table(test2 table), I also acquired > locks on other partition tables(test1 table). > I expected to acquire locks on the parent table(test table) and the partition > table to access(test2 table).

Lock acquisition for partition table when setting generic plan

2020-01-14 Thread yotsunaga.na...@fujitsu.com
Hi all, I have a question. I did the following. Even though I accessed one partition table(test2 table), I also acquired locks on other partition tables(test1 table). I expected to acquire locks on the parent table(test table) and the partition table to access(test2 table). Why does this happen