Code Monkey home page Code Monkey logo

Comments (2)

Fentonfi avatar Fentonfi commented on July 23, 2024

Hi We have used the versioning.sql in our environment on pg11 and its working perfectly. There is no issue in our Logical replication from Master to logical server.
When we upgrade the DBMaster and Logical DB to PG12, we see the below issue.
2020-09-16 22:58:26.808 [13255] ERROR: relation "xxxxx_timetravel" does not exist
2020-09-16 22:58:26.808 [13255] CONTEXT: PL/pgSQL function public.versioning() line 87 at RAISE
2020-09-16 22:58:26.810 [24781] LOG: background worker "logical replication worker" (PID 13255) exited with exit code 1

The steps that we performed is
1/ Set logical replication between master and logicaldb.
2/ Checked if all data is replicated and executed the versioning SQL on and ensured that the versioning of tables is working fine.
3/ DROP function if exists versioning() CASCADE;
4/ upgrade the server from pg11 to pg12 on dbmaster and logicaldb
5/ Dropped subscription and recreated subscription for logical replication
6/ Reconfigure versioning function

After performing this activity we see the errors as mentioned above. Does any one have any clue for if the process is correct or not?

Thanks,
Fenton

from temporal_tables.

Fentonfi avatar Fentonfi commented on July 23, 2024

Hi,

got the solution. The issue was in our python code when we call this function. Now the issue is sorted. Thanks team.

from temporal_tables.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.