mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) ### Are you introducing any new config? If yes, do you have tests with and without them being set? ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description [OSS] remove mongo_data references ---- #### AI description (iteration 1) #### PR Classification Code cleanup #### PR Summary This pull request removes references to `mongo_data` and replaces them with `documentdb_data` across the codebase. - `collection.h`: Updated constants and macros to use `DOCUMENTDB` instead of `MONGO`. - `drop_indexes.c`, `create_indexes.c`, `insert.c`: Replaced `MONGO_DATA` table and index format strings with `DOCUMENTDB_DATA`. - `planner.c`, `bson_aggregation_output_pipeline.c`, `bson_aggregation_pipeline.c`: Updated attribute number constants and variable names. - `index.h`: Changed index name format prefixes from `MONGO_DATA` to `DOCUMENTDB_DATA`. - `shard_colocation.c`: Adjusted table prefix strings and comments to reflect the new naming convention.