@@ -196,11 +196,13 @@ ingestion progress and debugging related issues, see [Troubleshooting](/ops/trou
196
196
197
197
## Known limitations
198
198
199
- ##### Schema changes
199
+ ### Schema changes
200
+
201
+ {{< include-md file="shared-content/schema-changes-in-progress.md" >}}
200
202
201
203
{{% schema-changes %}}
202
204
203
- #### Publication membership
205
+ ### Publication membership
204
206
205
207
PostgreSQL's logical replication API does not provide a signal when users remove
206
208
tables from publications. Because of this, Materialize relies on periodic checks
@@ -217,7 +219,7 @@ To mitigate this issue, if you need to drop and re-add a table to a publication,
217
219
ensure that you remove the table/subsource from the source _ before_ re-adding it
218
220
using the [ ` DROP SOURCE ` ] ( /sql/drop-source/ ) command.
219
221
220
- ##### Supported types
222
+ ### Supported types
221
223
222
224
Materialize natively supports the following PostgreSQL types (including the
223
225
array type for each of the types):
@@ -264,7 +266,7 @@ example:
264
266
* [ ` money ` ] : the resulting ` text ` value cannot be cast back to e.g. ` numeric ` ,
265
267
since PostgreSQL adds typical currency formatting to the output.
266
268
267
- ##### Truncation
269
+ ### Truncation
268
270
269
271
Tables replicated into Materialize should not be truncated. If a table is
270
272
truncated while replicated, the whole source becomes inaccessible and will not
@@ -275,7 +277,7 @@ using an unqualified `DELETE`.
275
277
DELETE FROM t;
276
278
```
277
279
278
- ##### Inherited tables
280
+ ### Inherited tables
279
281
280
282
When using [ PostgreSQL table inheritance] ( https://www.postgresql.org/docs/current/tutorial-inheritance.html ) ,
281
283
PostgreSQL serves data from ` SELECT ` s as if the inheriting tables' data is also
@@ -297,7 +299,7 @@ non-) that unions the new table.
297
299
298
300
## Examples
299
301
300
- {{< warning >}}
302
+ {{< important >}}
301
303
Before creating a PostgreSQL source, you must set up logical replication in the
302
304
upstream database. For step-by-step instructions, see the integration guide for
303
305
your PostgreSQL service: [ AlloyDB] ( /ingest-data/postgres-alloydb/ ) ,
@@ -306,7 +308,7 @@ your PostgreSQL service: [AlloyDB](/ingest-data/postgres-alloydb/),
306
308
[ Azure DB] ( /ingest-data/postgres-azure-db/ ) ,
307
309
[ Google Cloud SQL] ( /ingest-data/postgres-google-cloud-sql/ ) ,
308
310
[ Self-hosted] ( /ingest-data/postgres-self-hosted/ ) .
309
- {{< /warning >}}
311
+ {{< /important >}}
310
312
311
313
### Creating a connection
312
314
@@ -431,6 +433,8 @@ CREATE SOURCE mz_source
431
433
432
434
### Handling errors and schema changes
433
435
436
+ {{< include-md file="shared-content/schema-changes-in-progress.md" >}}
437
+
434
438
To handle upstream [ schema changes] ( #schema-changes ) or errored subsources, use
435
439
the [ ` DROP SOURCE ` ] ( /sql/alter-source/#context ) syntax to drop the affected
436
440
subsource, and then [ ` ALTER SOURCE...ADD SUBSOURCE ` ] ( /sql/alter-source/ ) to add
0 commit comments