connormcd / audit_utility

Automatic generator for the typical audit triggers we have on Oracle tables with lots of options
51 stars 19 forks source link

suppress creation of header entries if g_inserts_audited = false #4

Closed ogobrecht closed 4 years ago

ogobrecht commented 4 years ago

Hi Connor,

sorry for another pull request. Seems that audit header entries are created when g_inserts_audited is set to false. I think this was not your intention because these entries are useless without the detail information from the table.

Feel free to delete this pull request if I am wrong with my assumption or if you are not happy with the provided code.

Best regards Ottmar

connormcd commented 4 years ago

I've made some revisions to handle this, and also add the 'g_always_log_header' boolean so that you can either log the header or not as a preference.