if object_type in ['table', 'sequence']:
        on_part = '{0}."{1}"'.format(prepend, object_name)
    elif object_type == 'function':
        on_part = '{0}'.format(object_name)
    else: