postgresql_16:7.1.29 ALTER SERVER
PostgreSQL 16 > Reference > SQL Commands > ALTER SERVER
change the definition of a foreign server
ALTER SERVER name [ VERSION 'new_version' ]
[ OPTIONS ( [ ADD | SET | DROP ] option ['value'] [, ... ] ) ]
ALTER SERVER name OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
ALTER SERVER name RENAME TO new_name
ALTER SERVER name [ VERSION 'new_version' ]
[ OPTIONS ( [ ADD | SET | DROP ] option ['value'] [, ... ] ) ]
ALTER SERVER name OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
ALTER SERVER name RENAME TO new_name
Subsections
- postgresql_16:7.1.29.1 Description
- postgresql_16:7.1.29.2 Parameters
- postgresql_16:7.1.29.3 Examples
- postgresql_16:7.1.29.4 Compatibility
- postgresql_16:7.1.29.5 See Also