Jim Nasby <Jim.Nasby@BlueTreble.com> writes:
> The challenge I'm running into is finding a way to store a reference to
> an arbitrary object that will survive a rename as well as working with
> pg_dump.
Can't you do it like pg_depend does, that is store the class and object
OIDs? Then use pg_describe_object() to turn that into text when dumping.
regards, tom lane