Comments (4)
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.
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.
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.
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)
- Errors are printed to stdout instead of stderr HOT 3
- Feature request: some options and defaults for file handling HOT 6
- Feature request: Remove the need for the 'namespaces' field in the config HOT 3
- Redshift compatibility HOT 1
- Feature Request: Compare comments HOT 6
- Column Does not Exist HOT 8
- Data Compare - Arrays HOT 5
- Options to remove IF EXISTS (and similar) statements from generated scripts HOT 5
- Schema not specified for `COMMENT ON INDEX` statements, leading to RELATION ... DOES NOT EXIST HOT 3
- Data compare doesn't detect updates of NULL values HOT 2
- Triggers not implemented? HOT 3
- Please provide sample diff output in documentation
- How to generate separate scripts for Functions only and Tables Only
- Disabling comments
- create type not implemented?
- migration option historyTableSchema
- SSL options
- Feature Request: Support for Incremental Materialized Views
- Connect to AWS RDS
- Problem if use SSL connect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pg-diff.