Chris Hoover <revoohc@xxxxxxxxx> writes: > Ok, here is a bit more information, When I declare the function as > function(view_name, view_name) an try to update my view. I am getting > the following errors: > ERROR: record type has not been registered This is an internal bug. Are you running 8.0.3? If so, let's see a complete test case --- if not, please see if updating fixes it. regards, tom lane