Skip to content

Commit 3d91298

Browse files
committed
sql
1 parent e9f00c1 commit 3d91298

File tree

1 file changed

+3
-3
lines changed
  • docs/integrations/data-ingestion/clickpipes/postgres

1 file changed

+3
-3
lines changed

docs/integrations/data-ingestion/clickpipes/postgres/faq.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,12 +312,12 @@ The current workaround would be to map the NUMERIC type to string on ClickHouse.
312312

313313
There was a bug introduced in Postgres patch versions 17.5/16.9/15.13/14.18/13.21 due to which certain workloads can cause an exponential increase in memory usage, leading to a memory allocation request >1GB which Postgres considers invalid. This bug [has been fixed](https://github.com/postgres/postgres/commit/d87d07b7ad3b782cb74566cd771ecdb2823adf6a) and will be in the next Postgres patch series (17.6...). Please check with your Postgres provider when this patch version will be available for upgrade. If an upgrade isn't immediately possible, a resync of the pipe will be needed as it hits the error.
314314
315-
## I need to maintain a complete historical record in ClickHouse, even when the data is deleted from source Postgres database. Can I completely ignore DELETEs and TRUNCATEs operations from Postgres in ClickPipes? {#ignore-delete-truncate}
315+
## I need to maintain a complete historical record in ClickHouse, even when the data is deleted from source Postgres database. Can I completely ignore DELETE and TRUNCATE operations from Postgres in ClickPipes? {#ignore-delete-truncate}
316316
317-
Yes! Before creating your Postgres ClickPipe, create a publication without DELETEs. For example:
317+
Yes! Before creating your Postgres ClickPipe, create a publication without DELETE operations. For example:
318318
```sql
319319
CREATE PUBLICATION <pub_name> FOR TABLES IN SCHEMA <schema_name> WITH (publish = 'insert,update');
320320
```
321321
Then when [setting up](https://clickhouse.com/docs/integrations/clickpipes/postgres#configuring-the-replication-settings) your Postgres ClickPipe, make sure this publication name selected.
322322
323-
Note that TRUNCATEs are ignored by ClickPipes and will not be replicated to ClickHouse.
323+
Note that TRUNCATE operations are ignored by ClickPipes and will not be replicated to ClickHouse.

0 commit comments

Comments
 (0)