2ndQuadrant / audit-trigger

Simple, easily customised trigger-based auditing for PostgreSQL (Postgres). See also pgaudit.
Other
657 stars 241 forks source link

Replaced hstore with jsonb #12

Closed nineinchnick closed 9 years ago

nineinchnick commented 9 years ago

Maybe this could be merged as a second audit_json.sql file.

ringerc commented 9 years ago

Interesting thought, but given that 9.4 is the oldest release with jsonb, not merging as it stands.

Creating an alternate variant would be reasonable.

nineinchnick commented 9 years ago

I was expecting that. I just wanted to leave a trail to such implementation if anybody would be looking for it.

ringerc commented 9 years ago

Good plan.

If you wrap it up with a suitable extension control file I'll fork this version off into a legacy branch and replace master with a jsonb-ified version.

fosils commented 8 years ago

This would have been great if there was a migration script from hstore to jsonb?