From: | armand pirvu <armand(dot)pirvu(at)gmail(dot)com> |
---|---|
To: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pglogical sync |
Date: | 2017-08-10 20:42:35 |
Message-ID: | 53D59196-0CC6-4F43-B46E-E258BF560964@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I see says the blind man
Looked in the code
and correct the syntax and ran on subscriber
all good
> On Aug 10, 2017, at 12:29 PM, armand pirvu <armand(dot)pirvu(at)gmail(dot)com> wrote:
>
> Hi folks
>
> A question about pglogical sync
>
> I have a setup with a schema named myschema.
> All works well but looking at sync
>
> pglogical.alter_subscription_resynchronize_table(subscription_name name, relation regclass)
> Resynchronize one existing table. WARNING: This function will truncate the table first.
> Parameters:
> subscription_name - name of the existing subscription
> relation - name of existing table, optionally qualified
>
> How exactly to you run this ? What am I missing ?
>
>
> testrep=# select pglogical.alter_subscription_resynchronize_table(subscription_name := 'mysubscription', 'myschema.tbl1');
> ERROR: positional argument cannot follow named argument
> LINE 1: ...nize_table(subscription_name := 'mysubscription', 'myschema....
> ^
> testrep=# select pglogical.alter_subscription_resynchronize_table(subscription_name := 'mysubscription', 'myschema.tbl1'::regclass);
> ERROR: positional argument cannot follow named argument
> LINE 1: ...nize_table(subscription_name := 'mysubscription', 'myschema....
>
>
>
>
> Thanks for help
>
> Armand
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | marcelo | 2017-08-10 22:05:35 | sequence used on null value or get the max value for a column whith concurrency |
Previous Message | armand pirvu | 2017-08-10 20:20:31 | Re: could not find function "pglogical_table_data_filtered" in file "/usr/pgsql-9.5/lib/pglogical.so" |