Re: Fix doc bug in logical replication.

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Re: Fix doc bug in logical replication.
Дата
Msg-id CAJSLCQ2f66Dyz8mGc-FHg3RcbmkaayMKfrB_W9FitzEvUgfE_A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fix doc bug in logical replication.  (Euler Taveira <euler@timbira.com.br>)
Ответы Re: Fix doc bug in logical replication.  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On Mon, Apr 8, 2019 at 7:19 PM Euler Taveira <euler@timbira.com.br> wrote:
>
> Em seg, 8 de abr de 2019 às 19:38, Robert Treat <rob@xzilla.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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Reducing the runtime of the core regression tests
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Reducing the runtime of the core regression tests