enable_indexes_on_table(i_oid oid)

8.64. enable_indexes_on_table(i_oid oid)

Function Properties

Language: PLPGSQL

Return Type: integer

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