| 206 | } |
| 207 | |
| 208 | void deeplake_relation_vacuum(Relation rel, struct VacuumParams* params, BufferAccessStrategy bstrategy) |
| 209 | { |
| 210 | // Ensure DeepLake is initialized (for autovacuum workers that bypass planner/executor hooks) |
| 211 | pg::init_deeplake(); |
| 212 | |
| 213 | // Check for VACUUM FULL - not supported for deeplake tables |
| 214 | if (params != nullptr && (params->options & VACOPT_FULL)) { |
| 215 | ereport( |
| 216 | ERROR, |
| 217 | (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), |
| 218 | errmsg("VACUUM FULL is not supported for deeplake tables"), |
| 219 | errhint( |
| 220 | "Deeplake uses columnar storage which is already compact. Use VACUUM or VACUUM ANALYZE instead."))); |
| 221 | } |
| 222 | |
| 223 | // Regular VACUUM is a no-op for columnar storage |
| 224 | return; |
| 225 | } |
| 226 | |
| 227 | TransactionId deeplake_index_delete_tuples(Relation rel, TM_IndexDeleteOp* delstate) |
| 228 | { |
nothing calls this directly
no test coverage detected