wal2json
wal2json copied to clipboard
Missing toast fields
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
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.