Class AlterForeignServerCommand

class AlterForeignServerCommand : public DdlCommand

Public Functions

AlterForeignServerCommand(const DdlCommandData &ddl_data, std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr)
ExecutionResult execute()

Executes the DDL command corresponding to provided JSON payload.

Parameters
  • _return: result of DDL command execution (if applicable)

Private Functions

void changeForeignServerOwner()
void renameForeignServer()
void setForeignServerOptions()
void setForeignServerDataWrapper()
bool hasAlterServerPrivileges()