forked from orioledb/orioledb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The the limitations include: * TOASTed values are not supported, * Subtransactions are not supported, * Mixed transactions are not supported, * Replication origins are not supported. Logical decoding requires 32-bit transaction ids. This commit implements assignment of 32-bit "logical transaction ids". Those are assigned in unused range of 32-bit transaction ids. The number could repeat shortly, but same numbers can't co-exist in parallel. Also, this commit implements skipping of WAL-logging of empty transactions (with no data modifications) even if they contain subtransactions.
- Loading branch information
Showing
15 changed files
with
616 additions
and
90 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/*------------------------------------------------------------------------- | ||
* | ||
* logical.h | ||
* External declarations for logical decoding of OrioleDB tables. | ||
* | ||
* Copyright (c) 2024, Oriole DB Inc. | ||
* | ||
* IDENTIFICATION | ||
* contrib/orioledb/include/recovery/logical.h | ||
* | ||
*------------------------------------------------------------------------- | ||
*/ | ||
#ifndef __LOGICAL_H__ | ||
#define __LOGICAL_H__ | ||
|
||
#include "btree/btree.h" | ||
#include "recovery/internal.h" | ||
|
||
#include "replication/decode.h" | ||
#include "replication/logical.h" | ||
|
||
extern void orioledb_decode(LogicalDecodingContext *ctx, | ||
XLogRecordBuffer *buf); | ||
|
||
#endif /* __LOGICAL_H__ */ |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.