Re: Segfault logical replication PG 10.4

2018-07-28 Thread Quan Tran
Sorry, there is an error in the previous message: insert into itscaro.test values (2, '{{test1.test2.test3}'); should be corrected with: insert into itscaro.test values (2, '{test1.test2.test3}'); >

Re: Segfault logical replication PG 10.4

2018-07-28 Thread Minh-Quan Tran
Hello, Here is the steps to reproduce this problem. Thank you. Pastebin : https://pastebin.com/Wc80YegY -- CREATE EXTENSION IF NOT EXISTS postgis; CREATE EXTENSION IF NOT EXISTS ltree; CREATE EXTENSION IF NOT EXISTS intarray; CREATE EXTENSION IF NOT EXISTS hstore; CREATE EXTENSION IF NOT EXIST

Re: Segfault logical replication PG 10.4

2018-07-20 Thread Minh-Quan Tran
Something like this? Thank you. logical-replication-worker-insert.patch Description: Binary data

Re: Segfault logical replication PG 10.4

2018-07-19 Thread Quan TRAN
Hello, In worker.c:     - in apply_handle_insert, slot_store_cstrings is called before PushActiveSnapshot     - in apply_handle_update & apply_handle_delete, slot_store_cstrings is called after PushActiveSnapshot     /* Process and store remote tuple in the slot */     oldctx = Memor