Re: Logical replication from PG v13 and below to PG v14 (devel version) is not working.
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Dilip Kumar <dilipbalaut@gmail.com>
Cc: Ashutosh Sharma <ashu.coek88@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-09-26T06:16:15Z
Lists: pgsql-hackers
On Fri, Sep 25, 2020 at 1:53 PM Dilip Kumar <dilipbalaut@gmail.com> wrote:
>
> On Fri, Sep 25, 2020 at 8:12 AM Amit Kapila <amit.kapila16@gmail.com> wrote:
> >
> >
> > No that won't happen because we send this option to the server
> > (publisher in this case) only when version is >=14 and user has
> > specified this option. See the below check in function
> > libpqrcv_startstreaming()
> > {
> > ..
> > if (options->proto.logical.streaming &&
> > PQserverVersion(conn->streamConn) >= 140000)
> > appendStringInfo(&cmd, ", streaming 'on'");
> > ..
> > }
>
> Ok, I have modified as per your suggestion.
>
Pushed, thanks!
--
With Regards,
Amit Kapila.
Commits
-
Fix the logical replication from HEAD to lower versions.
- 079d0cacf4fe 14.0 landed
-
Add support for streaming to built-in logical replication.
- 464824323e57 14.0 cited