From: | Robert Treat <rob(at)xzilla(dot)net> |
---|---|
To: | Euler Taveira <euler(at)timbira(dot)com(dot)br> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Fix doc bug in logical replication. |
Date: | 2019-04-12 17:52:58 |
Message-ID: | CAJSLCQ2f66Dyz8mGc-FHg3RcbmkaayMKfrB_W9FitzEvUgfE_A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Apr 8, 2019 at 7:19 PM Euler Taveira <euler(at)timbira(dot)com(dot)br> wrote:
>
> Em seg, 8 de abr de 2019 às 19:38, Robert Treat <rob(at)xzilla(dot)net> escreveu:
> >
> > I noticed that the docs currently state "A different order of columns
> > in the target table is allowed, but the column types have to match."
> > This is untrue, as you can replicate between any two data types as
> > long as the data can be coerced into the right format on the
> > subscriber. Attached is a patch that attempts to clarify this, and
> > provides some additional wordsmithing of that section. Patch is
> > against head but the nature of the patch would apply to the docs for
> > 11 and 10, which both have the incorrect information as well, even if
> > the patch itself does not.
> >
> I would say it is inaccurate because the actual instruction works. I
> agree that your words are an improvement but it lacks a comment on the
> slot_[store|modify]_cstrings.
>
It is clear to me that the docs are wrong, but I don't see anything
inherently incorrect about the code itself. Do you have suggestions
for how you would like to see the code comments improved?
Robert Treat
https://xzilla.net
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2019-04-12 17:57:22 | Re: Reducing the runtime of the core regression tests |
Previous Message | Peter Geoghegan | 2019-04-12 17:49:27 | Re: Reducing the runtime of the core regression tests |