Code Monkey home page Code Monkey logo

Comments (4)

michaelsogos avatar michaelsogos commented on May 25, 2024

Dear @linchelsey,

Thanks to using our library.

which library version are you using?
which pgsql version do you have?

a.attidentity is a column from pgsql 10+ only to know if a specific column is an identity column, but this feature is not available on pg 9.x.

However if you can wait one more day I will publish a newer fixed version.

from pg-diff.

michaelsogos avatar michaelsogos commented on May 25, 2024

Dear @linchelsey ,

The bug has been fixed, now the library is able to know if the SOURCE and TARGET db version is lower than a specified number (used internally) to keep backward compatibility between 9.x, 10.x and 11.x versions of POSTGRESQL 😄 .

Please update npm package to 1.1.2 !

Please, let me know how it is going, i love to heard about how our libary is considered by the community.

from pg-diff.

linchelsey avatar linchelsey commented on May 25, 2024

Hello @michaelsogos,

Thank you for your quick response. I just updated the npm package to 1.1.2 and am running it on psql 10.5. However, after 'pg-diff -c development initial-script', I am now hitting this error at 41%:

ReferenceError: sourceViews is not defined
    at Object.__compareProcedures (/usr/local/lib/node_modules/pg-diff-cli/src/compareSchema.js:332:150)
    at Object.compareDatabaseObjects (/usr/local/lib/node_modules/pg-diff-cli/src/compareSchema.js:367:14)
    at __runComparison (/usr/local/lib/node_modules/pg-diff-cli/main.js:283:33)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)

sourceViews isn't one of the fields in the pg-diff-config.json file, so unsure how to proceed - the error seems to be coming from the pg-diff-cli src files.

from pg-diff.

michaelsogos avatar michaelsogos commented on May 25, 2024

Dear @linchelsey ,

OMG! My unit test didn't test that piece of code.
It was a stupid stuff.

Now you have 1.1.3, thanks for your issue!

from pg-diff.

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.