Re: pglogical - how to use pglogical.conflict_resolution - Mailing list pgsql-hackers

From xujian
Subject Re: pglogical - how to use pglogical.conflict_resolution
Date
Msg-id BAY181-W338AB7D479FD21FAE0B6D0A1AE0@phx.gbl
Whole thread Raw
In response to pglogical - how to use pglogical.conflict_resolution  (xujian <jamesxu@outlook.com>)
List pgsql-hackers
sorry, please ignore it.
It is a setting, not function, I can set it with
set pglogical.conflict_resolution = 'error'

thanks

James



From: jamesxu@outlook.com
To: pgsql-hackers@postgresql.org
Subject: pglogical - how to use pglogical.conflict_resolution
Date: Wed, 17 Feb 2016 18:30:35 -0500

Hello,
         I setup the logical replication with pglogical on pg95, it works fine, however, I want to set the conflict resolution according to the document below
=====================
The configuration of the conflicts resolver is done via the
`pglogical.conflict_resolution` setting. The supported values for the
`pglogical.conflict_resolution` are:

- `error` - the replication will stop on error if conflict is detected and
  manual action is needed for resolving
======================

I got error
test3=# select pglogical.conflict_resolution('error');
ERROR:  function pglogical.conflict_resolution(unknown) does not exist
LINE 1: select pglogical.conflict_resolution('error');

Does anyone know how to use the function pglogical.conflict_resolution? I googled , but didn't find anything value. 

Thanks.

James

pgsql-hackers by date:

Previous
From: Josh berkus
Date:
Subject: Re: exposing pg_controldata and pg_config as functions
Next
From: Tom Lane
Date:
Subject: Restructuring Paths to allow per-Path targetlist info