Hi!

We (with colleagues) discussed further improvements to SPLIT/MERGE PARTITION(S). As a result of the discussion, the following answers to the questions remained:

1. Who should be the owner of new partitions (SPLIT PARTITION command) if owner of the partition being split is not the same as the current user?
a) current user (since he is the one who creates new tables);
b) the owner of the partitioned partition (since it is the owner of the table and should continue to own it).

2. Who should be the owner of the new partition (MERGE PARTITIONS command) if the partitions being merged have different owners?
a) current user (since he is the one who creates new table);
b) merging of partitions should be forbidden if they have different owners.

Please, advise what seems to be the best solution for points 1 and 2.

With best regards,
Dmitry Koval

Postgres Professional: http://postgrespro.com



Reply via email to