We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5ec031 commit 049b32aCopy full SHA for 049b32a
modules/module-postgres-storage/src/storage/batch/PostgresBucketBatch.ts
@@ -443,6 +443,16 @@ export class PostgresBucketBatch
443
}
444
445
446
+ async markTableSnapshotRequired(table: storage.SourceTable): Promise<void> {
447
+ await this.db.sql`
448
+ UPDATE sync_rules
449
+ SET
450
+ snapshot_done = FALSE
451
+ WHERE
452
+ id = ${{ type: 'int4', value: this.group_id }}
453
+ `.execute();
454
+ }
455
+
456
async markTableSnapshotDone(
457
tables: storage.SourceTable[],
458
no_checkpoint_before_lsn?: string
0 commit comments