Re: [GENERAL] [HACKERS] Threads in PostgreSQL

2015-12-20 Thread Konstantin Knizhnik
Hi, PostgreSQL is not using threads but it is possible to spawn thread in your PostgreSQL extensions. For example, I have used pool of threads in my IMCS extension. But you need to build your extension with -pthread: CUSTOM_COPT = -pthread Also, please take in account that many PostgreSQL fu

[GENERAL] Multimaster

2016-04-01 Thread Konstantin Knizhnik
cial API allowing to dynamically add/remove nodes from cluster? Thanks in advance, -- Konstantin Knizhnik Postgres Professional: http://www.postgrespro.com The Russian Postgres Company -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http:

Re: [GENERAL] Multimaster

2016-04-01 Thread Konstantin Knizhnik
version in future. On 01.04.2016 14:38, Simon Riggs wrote: On 1 April 2016 at 11:33, Konstantin Knizhnik mailto:k.knizh...@postgrespro.ru>> wrote: Our company PostgresPRO is now developing multimaster for Postgres, some analogue of MySQL Galera. It is based on l

Re: [GENERAL] Multimaster

2016-04-14 Thread konstantin knizhnik
On Apr 14, 2016, at 8:41 AM, Craig Ringer wrote: > On 1 April 2016 at 19:50, Konstantin Knizhnik > wrote: > > Right now the main problem is parallel apply: we need to apply changes > concurrently to avoid unintended dependencies causing deadlocks and provide > reas

Re: [GENERAL] Multimaster

2016-04-18 Thread Konstantin Knizhnik
illed as needed" fields in PGLogicalRelation if are are not going to perform such mapping? Multimater really needs to map local or remote OIDs. We do not need to provide any attribute mapping and handle catalog invalidations. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Devel

Re: [GENERAL] Multimaster

2016-04-19 Thread Konstantin Knizhnik
On 19.04.2016 15:56, Craig Ringer wrote: On 18 April 2016 at 16:28, Konstantin Knizhnik mailto:k.knizh...@postgrespro.ru>> wrote: I intend to make the same split in pglogical its self - a receiver and apply worker split. Though my intent is to have them communicate via a