Open
Description
I suggest to use relation OID instead of a name while calling versioning function from a trigger. This way one can rename history table without a need to recreate a trigger with an updated call to versioning.
Maybe implement versioning2 that takes oid, casts it to regclass and calls standard versioning? Or, actually, other way around replacing heap_openrv with heap_open and alike?
P.S. I do some nasty things with PG and I deal with a bunch of versioned tables that might get renamed.
Metadata
Metadata
Assignees
Labels
No labels