postgresql_16:7.1.30 ALTER STATISTICS
PostgreSQL 16 > Reference > SQL Commands > ALTER STATISTICS
change the definition of an extended statistics object
ALTER STATISTICS name OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
ALTER STATISTICS name RENAME TO new_name
ALTER STATISTICS name SET SCHEMA new_schema
ALTER STATISTICS name SET STATISTICS new_target
ALTER STATISTICS name OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
ALTER STATISTICS name RENAME TO new_name
ALTER STATISTICS name SET SCHEMA new_schema
ALTER STATISTICS name SET STATISTICS new_target
Subsections
- postgresql_16:7.1.30.1 Description
- postgresql_16:7.1.30.2 Parameters
- postgresql_16:7.1.30.3 Compatibility
- postgresql_16:7.1.30.4 See Also