Repository navigation
Place listed tables in an attached database and initialize each fresh file - #135
Merged
Merged
Conversation
LucaCappelletti94
added this pull request to stack #136
October 21, 2026 07:15
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
LucaCappelletti94
force-pushed
the
upstream/attached-placement
branch
from
October 22, 2026 13:06
19b08d1 to
acf22c3
Compare
|
LucaCappelletti94
removed this pull request from stack #136
October 22, 2026 18:21
LucaCappelletti94
added this pull request to stack #138
October 22, 2026 18:21
LucaCappelletti94
force-pushed
the
upstream/attached-placement
branch
from
October 22, 2026 18:25
acf22c3 to
c331dcd
Compare
LucaCappelletti94
force-pushed
the
upstream/attached-placement
branch
from
October 22, 2026 19:52
c331dcd to
480a0e5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



with_attached_tablesstores the listed tables in a database attached to the replica's connection. A permanent SQLite view or trigger can only name objects in its own database, so every view or trigger that reads attached storage, directly or through another view, is emittedTEMP. Foreign keys across the two files, renames to or from a listed name and writes SQLite cannot place are refused withError::UnusableAttachedTables.translation_manifestreports where each logical and physical table lives.A connection creating the files runs
Script::initialize.FreshFiles::Bothruns everything in source order.FreshFiles::MainandFreshFiles::Attachedinitialize one new file next to an existing one. The statements that file needs run in source order with their transaction controls, and references to objects in the other file use their final names. Each selection is checked when the script is built, and a selection that needs history the existing file has lost fails on its own with anInitializationErrorwhile the others stay usable.Script::mainbecomesScript::files.This replaces #129 and is stacked on #134.