-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
include-pk can't work with identity full? #273
Comments
@yichao-figma Sorry about the late reaction. Are you using format 1, right? I can reproduce it with the following test case.
|
Sorry for the slow reply. Yes the original format. I looked into the implementation by searching In the repro you had above, it doesn't seem there's evidence that it's producing the pk info, but just whether the option is enabled? Correct me if I misread. Also I saw you mentioned a potential fix for this thread - do you mind elaborate what fix are you thinking? |
Context:
include-pk
option to get the primary keyHowever we noticed that these two does NOT work together starting from wal2json v2.5 (It was working on v2.3). Looking at the history, I noticed this commit made the behavioral change: 8139a6d From this change it seems that
include-pk
only works whenidentity = default
. Though it's not very clear from the commit description regarding why this limitation was added.cc @eulerto please let me know if my understanding is incorrect and / or if there are ways to have both "identity = full" and primary key.
The text was updated successfully, but these errors were encountered: