This is a diff to remove a comment that was only valid in earlier versions of
the patch - I failed to notice that so far. Another comment in
copy_table_data() explains why rd_toastoid is not set in the CONCURRENTLY
mode:
* This would not work with CONCURRENTLY because we may need to delete
* TOASTed tuples from the new heap. With this hack, we'd delete them
* from the old heap.
*/
NewHeap->rd_toastoid = OldHeap->rd_rel->reltoastrelid;
--
Antonin Houska
Web: https://www.cybertec-postgresql.com