MCPcopy Create free account
hub / github.com/apache/cloudberry / table_relation_copy_data

Function table_relation_copy_data

src/include/access/tableam.h:1863–1867  ·  view source on GitHub ↗

* Copy data from `rel` into the new relfilenode `newrnode`. The new * relfilenode may not have storage associated before this function is * called. This is only supposed to be used for low level operations like * changing a relation's tablespace. */

Source from the content-addressed store, hash-verified

1861 * changing a relation's tablespace.
1862 */
1863static inline void
1864table_relation_copy_data(Relation rel, const RelFileNode *newrnode)
1865{
1866 rel->rd_tableam->relation_copy_data(rel, newrnode);
1867}
1868
1869/*
1870 * Copy data from `OldTable` into `NewTable`, as part of a CLUSTER or VACUUM

Callers 1

ATExecSetTableSpaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected