classSubscriptionRule
final class SubscriptionRule
Restricted visibility: declared "@visibility SqlSemantics\Platform\PostgreSql\Lowering". Code outside that scope must not name this declaration.
Lowers the subscription commands.
Rule: PG-SUBSCRIPTION-LOWER-001. Scope: CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt. Constructors: the classes of Statement\Publication\Subscription. Source: https://www.postgresql.org/docs/17/sql-createsubscription.html, https://www.postgresql.org/docs/17/sql-altersubscription.html, https://www.postgresql.org/docs/17/sql-dropsubscription.html. Status: Implemented.
Methods§
Lowers a subscription command.
Parameters
$statement | Node |
Returns
Throws
ImplementationGap When the production has no ruleCalled from 1
Calls 13
- new CreateSubscription line 54
- new AlterSubscriptionOptions line 55
- class-const SubscriptionOptionAction::Set() line 55
- class-const SubscriptionOptionAction::Skip() line 56
- new AlterSubscriptionConnection line 57
- new RefreshSubscription line 58
- new AlterSubscriptionPublications line 59
- class-const PublicationAction::Add() line 59
- class-const PublicationAction::Drop() line 60
- class-const PublicationAction::Set() line 61
- new EnableSubscription line 62
- new DropSubscription line 64
- static-call ImplementationGap::production() line 66
Private surface 1§
Implementation details, listed for orientation only.
private Lowering $loweringTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
SubscriptionRuleTestcalls