On 8/23/18, 12:08 AM, "Michael Paquier" <mich...@paquier.xyz> wrote: > Normal regression tests are less costly than isolation tests, so let's > use them as possible. What you attached is covering only a portion of > all the scenarios though, as it is as well interesting to see what > happens if another user owns only the partitioned table, only one > partition, and the partitioned as well as at least one partition. I > have extended your patch as attached. It applies on top of HEAD. Once > applied with the other patch one can easily stop the difference in > behavior, and this stresses the ownership checks in vacuum_rel() and > analyze_rel() as well. Perhaps we could begin by that?
This seems reasonable to me. I think establishing the expected behavior here is a good idea. Nathan