final class ForeignDataRule
Restricted visibility: declared "@visibility SqlSemantics\Platform\PostgreSql\Lowering". Code outside that scope must not name this declaration.

Lowers the foreign-data commands.

Rule: PG-FOREIGN-LOWER-001. Scope: CreateFdwStmt, AlterFdwStmt, fdw_option, fdw_options, opt_fdw_options, CreateForeignServerStmt, opt_type, foreign_server_version, opt_foreign_server_version, AlterForeignServerStmt, CreateUserMappingStmt, auth_ident, DropUserMappingStmt, AlterUserMappingStmt, ImportForeignSchemaStmt, import_qualification_type, import_qualification. Constructors: the classes of Statement\ForeignData and FunctionClause. Termination: lists are flattened iteratively. Source: https://www.postgresql.org/docs/17/sql-createforeigndatawrapper.html, https://www.postgresql.org/docs/17/sql-createserver.html, https://www.postgresql.org/docs/17/sql-createusermapping.html, https://www.postgresql.org/docs/17/sql-importforeignschema.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe hub

Private surface 2§

Implementation details, listed for orientation only.

private const FUNCTIONS = ['fdw_option: HANDLER handler_name' => [\SqlSemantics\Platform\PostgreSql\State…
private Lowering $lowering

Test cases 5§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 5

Relations§

Instantiated in 1
Method calls 1