|
12 | 12 | - type.py - Enum/Range type expressions |
13 | 13 | - extension.py - Extension DDL expressions |
14 | 14 | - policy.py - Row-Level Security POLICY expressions (CREATE/ALTER/DROP) |
| 15 | +- rls_config.py - Row-Level Security table configuration (ENABLE/DISABLE/FORCE) |
| 16 | +- table_settings.py - ALTER TABLE SET LOGGED/UNLOGGED/ACCESS METHOD |
| 17 | +- cluster.py - CLUSTER expressions |
| 18 | +- domain.py - CREATE/ALTER/DROP DOMAIN expressions |
| 19 | +- collation.py - CREATE/DROP COLLATION object expressions |
| 20 | +- foreign_table.py - CREATE/DROP FOREIGN TABLE expressions |
| 21 | +- routine.py - CREATE/DROP FUNCTION / AGGREGATE expressions |
| 22 | +- publication.py - CREATE/DROP PUBLICATION / SUBSCRIPTION expressions |
15 | 23 |
|
16 | 24 | Missing expressions — why? |
17 | 25 | ============================ |
|
93 | 101 | PostgresAlterPolicyExpression, |
94 | 102 | PostgresDropPolicyExpression, |
95 | 103 | ) |
| 104 | +from .rls_config import ( |
| 105 | + RlsConfigurationMode, |
| 106 | + PostgresAlterTableRlsExpression, |
| 107 | + PostgresForceRlsExpression, |
| 108 | +) |
| 109 | +from .table_settings import ( |
| 110 | + LoggingMode, |
| 111 | + PostgresAlterTableSettingsExpression, |
| 112 | +) |
| 113 | +from .cluster import PostgresClusterExpression |
| 114 | +from .domain import ( |
| 115 | + AlterDomainActionType, |
| 116 | + PostgresCreateDomainExpression, |
| 117 | + PostgresAlterDomainExpression, |
| 118 | + PostgresDropDomainExpression, |
| 119 | +) |
| 120 | +from .collation import ( |
| 121 | + PostgresCreateCollationExpression, |
| 122 | + PostgresDropCollationExpression, |
| 123 | +) |
| 124 | +from .foreign_table import ( |
| 125 | + PostgresCreateForeignTableExpression, |
| 126 | + PostgresDropForeignTableExpression, |
| 127 | +) |
| 128 | +from .routine import ( |
| 129 | + PostgresCreateFunctionExpression, |
| 130 | + PostgresDropFunctionExpression, |
| 131 | + PostgresCreateAggregateExpression, |
| 132 | + PostgresDropAggregateExpression, |
| 133 | +) |
| 134 | +from .publication import ( |
| 135 | + PostgresCreatePublicationExpression, |
| 136 | + PostgresDropPublicationExpression, |
| 137 | + PostgresCreateSubscriptionExpression, |
| 138 | + PostgresDropSubscriptionExpression, |
| 139 | +) |
96 | 140 |
|
97 | 141 | __all__ = [ |
98 | 142 | # vacuum |
|
136 | 180 | "PostgresCreatePolicyExpression", |
137 | 181 | "PostgresAlterPolicyExpression", |
138 | 182 | "PostgresDropPolicyExpression", |
| 183 | + # rls_config |
| 184 | + "RlsConfigurationMode", |
| 185 | + "PostgresAlterTableRlsExpression", |
| 186 | + "PostgresForceRlsExpression", |
| 187 | + # table_settings |
| 188 | + "LoggingMode", |
| 189 | + "PostgresAlterTableSettingsExpression", |
| 190 | + # cluster |
| 191 | + "PostgresClusterExpression", |
| 192 | + # domain |
| 193 | + "AlterDomainActionType", |
| 194 | + "PostgresCreateDomainExpression", |
| 195 | + "PostgresAlterDomainExpression", |
| 196 | + "PostgresDropDomainExpression", |
| 197 | + # collation |
| 198 | + "PostgresCreateCollationExpression", |
| 199 | + "PostgresDropCollationExpression", |
| 200 | + # foreign_table |
| 201 | + "PostgresCreateForeignTableExpression", |
| 202 | + "PostgresDropForeignTableExpression", |
| 203 | + # routine |
| 204 | + "PostgresCreateFunctionExpression", |
| 205 | + "PostgresDropFunctionExpression", |
| 206 | + "PostgresCreateAggregateExpression", |
| 207 | + "PostgresDropAggregateExpression", |
| 208 | + # publication |
| 209 | + "PostgresCreatePublicationExpression", |
| 210 | + "PostgresDropPublicationExpression", |
| 211 | + "PostgresCreateSubscriptionExpression", |
| 212 | + "PostgresDropSubscriptionExpression", |
139 | 213 | ] |
0 commit comments