> + /* Unlock new partition. */
> + table_close(newPartRel, NoLock);
>
> Why is NoLock passed (instead of AccessExclusiveLock) ?
Thanks!
You're right, I replaced the comment with "Keep the lock until commit.".
--
With best regards,
Dmitry Koval
Postgres Professional: http://postgrespro.com