wal2json icon indicating copy to clipboard operation
wal2json copied to clipboard

Missing toast fields

Open greigwise opened this issue 7 years ago • 1 comments

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

greigwise avatar Jan 23 '19 19:01 greigwise

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.

gunnarmorling avatar Feb 22 '19 11:02 gunnarmorling