Skip to content
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

Missing toast fields #98

Open
greigwise opened this issue Jan 23, 2019 · 1 comment
Open

Missing toast fields #98

greigwise opened this issue Jan 23, 2019 · 1 comment

Comments

@greigwise
Copy link

I was wondering if a PR to optionally add a data element to the output like this:

missingtoastcolums: ["biglongtext", "extralongstuff"]

would be supported.

I was just thinking it would be nice to have this information easily available rather than having to determine from the column list exactly what is missing in the case of an update where the toasted fields are not included.

Any thoughts on this?

Thanks,
Greig Wise

@gunnarmorling
Copy link

An alternative would be to just keep the unchanged TOAST columns in the regular structures, but assign some special value to it ("wal2json_unchanged" or similar), which consumers can use to detect the situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants