Skip to content

Commit e9f00c1

Browse files
committed
sql
1 parent 33a9ea1 commit e9f00c1

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ There was a bug introduced in Postgres patch versions 17.5/16.9/15.13/14.18/13.2
315315
## 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}
316316
317317
Yes! Before creating your Postgres ClickPipe, create a publication without DELETEs. For example:
318-
```
318+
```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.

0 commit comments

Comments
 (0)