Git Product home page Git Product logo

node-red-contrib-postgrestor's People

Contributors

hysoaka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

node-red-contrib-postgrestor's Issues

Client Sockets overflow

Greetings,
First of all thak you for this node, i consider it the best available.

I am opening this issue because I was having problems when pooling a database and noticed that the pool was created on input event I have transfered to the constructor level and its working for me.

Thank you.

Multiples databases connections error

Hi,

When I'm using multiple postgres connections(settings) in the same node-red app, only one still working.

If I create another connection the first don't work anymore.

It looks like even if I'm slecting the good database for each node they are using the same connection.

I'm currently using node-red container docker over linux.

I'm using the 0.0.2 postgrestor because de 0.0.4RC does not work, it make me an error saying there are no postgresDB an postgrestor node find.

Is there any way to make it work?

Thanks

Not working on node 14

I am able to run a simple flow "Select 1" on node 12, but if i run node red in a node 14 the module does not return any data or errors.
I think i have tracked it down to line 66, let client = yield pgPool.connect()
I have pool connect running ok in other node 14 apps, I think it might be something to do with the co( and yield
But I am not familiar with co enough to suggest a solution

An in-range update of pg is breaking the build 🚨

Version 6.2.2 of pg just got published.

Branch Build failing 🚨
Dependency pg
Current Version 6.1.5
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

pg is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this πŸ’ͺ

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 11 commits0.

  • c32316d Bump version
  • ee81936 Libpq connection string escaping (#1285)
  • 4659d5d Bump version
  • db5f4ae Upgrade packet reader (#1287)
  • f42924b Bump version
  • 80d136a Add test & documentation for replicationStart message
  • 4f790de Support for logical streaming replication (#1271)
  • 4505ae9 support ssl params for pg-native (#1169)
  • 0e2625b Add semicolons to Pooling example in README.md (#1266)
  • 71a1364 Improve Readme.md for not so advanced users (#1235)
  • 7504c20 Fix README.md (#1250)

false

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

Like %

in a query when you want to use %, like it is used?

Does this node still work?

server and account is setup correctly but the debug node just doesn't output anything andSELECT and INSERT INTO commands are not working.

Example with split and rows value?

Hi could you put on package a complete example with rows splitted and printed?
I'm trying to split them but it doesn't works.

Database and query are working well!

msg.payload : string[124838]
"{"command":"SELECT","rowCount":468,"oid":null,"rows":[{"id":1,"gene_rei":"CSF2RB","descrizione":"colony stimulating factor 2 receptor beta common subunit","gene_mim":"","created_date":"2020-06-13T12:20:30.283Z","modified_date":"2020-06-13T12:20:30.283Z","created_by_id":1,"fenotipo_id":null,"modified_by_id":1,"esoni":"","lunghezza":""},{"id":2,"gene_rei":"True","descrizione":"colony stimulating factor 2 receptor beta common subunit","gene_mim":"","created_date":"2020-06-13T12:20:30.317Z","modified_date":"2020-06-13T12:20:30.371Z","created_by_id":1,"fenotipo_id":null,"modified_by_id":1,"esoni":"","lunghezza":""},{"id":34,"gene_rei":"RAB7A","descrizione":"Malattia di Charcot-Marie-Tooth di tipo 1B","gene_mim":"602298","created_date":"2020-06-13T12:20:35.291Z","modified_date":"2020-06-13T12:20:37.552Z","created_by_id":1,"fenotipo_id":null,"modified_by_id":1,"esoni":"","lunghezza":""},{"id":5,"gene_rei":"ATP1A1","descrizione":"Malattia di Charcot-Marie-Tooth di tipo 2 (Am J Hum Genet. 2018 ..."

I used 'change' and Move msg.rows in msg.payload

but when I split them and print:

23/6/2020, 15:19:58node: 517bb5f1.c9d4fc
msg.payload : undefined
undefined

Error when using into Nodered-Heroku

I've just deployed postgrestor and I can't use it because I get next error: "error: no PostgreSQL user name specified in startup packet"

I've provided all information (Host, Port, Database, User and Password) in many different ways...

Need a way to provide query at run time

There are times when you need to dynamically create a query (not just alter some parameters of a standard query). So please provide a way for the postgrestor node to accept query as an input from other nodes.

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.