Skip to content

Commit

Permalink
feat: #31 adding a definition for oldkeys in the wal2json response
Browse files Browse the repository at this point in the history
  • Loading branch information
kibae committed May 6, 2024
1 parent d576f5e commit 15930f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pg-logical-replication",
"version": "2.0.5",
"version": "2.0.6",
"description": "PostgreSQL Location Replication client - logical WAL replication streaming",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/output-plugins/wal2json/wal2json-plugin-output.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ export declare module Wal2Json {
* +options.includeNotNull : true
*/
columnoptionals: boolean[];

oldkeys?: { keynames: string[]; keytypes: string[]; keyvalues: any[] };
}

export interface Pk {
Expand Down

0 comments on commit 15930f2

Please sign in to comment.