Christopher B. Browne's Home Page
cbbrowne@acm.org

8.59. enable_indexes_on_table(i_oid oid)

Function Properties

PLPGSQLinteger
re-enable indexes on the specified table. This may be set as a SECURITY DEFINER in order to eliminate the need for superuser access by Slony-I.
    begin
    	update pg_catalog.pg_class set relhasindex ='t' where oid = i_oid;
    	return 1;
    end 

Google

If this was useful, let others know by an Affero rating

Contact me at cbbrowne@acm.org