Re: BUG #18203: Logical Replication initial sync failure

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: BUG #18203: Logical Replication initial sync failure
Дата
Msg-id CAA4eK1LGmEjKEH4ypOkkOs9gijVevmbKqO_RBde2HXwTxAwpkg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #18203: Logical Replication initial sync failure  (vignesh C <vignesh21@gmail.com>)
Ответы Re: BUG #18203: Logical Replication initial sync failure  (vignesh C <vignesh21@gmail.com>)
Список pgsql-bugs
On Mon, Nov 20, 2023 at 2:53 PM vignesh C <vignesh21@gmail.com> wrote:
>
> >
> > Logical replication worker returns with the following error:
> > 2023-11-17 20:40:16.141 UTC [151084] ERROR:  could not start initial
> > contents copy for table "public.no_col": ERROR:  syntax error at or near
> > ")"
> >     LINE 1: COPY public.no_col () TO STDOUT
>
> Thanks for reporting this issue, I was able to reproduce the issue.
> This issue is happening because we are trying to specify the column
> list while the table sync worker is copying data for the table.
> I felt we should not specify the column list when the table has no columns.
> Attached patch has the changes to handle the same.
>

I think we can add a test for such cases which tests both initial sync
and regular replication on a table with no column.

--
With Regards,
Amit Kapila.



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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: BUG #18196: Databases Created in Turkish Language Will Not Run on the Latest Version of Windows
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #18208: ts_headline MinWords and MaxWords cannot be set to the same value