question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using with other pg packages

See original GitHub issue

I am not really sure where to post this. I wan’t to use this package but I am already using another node pg package extension, specifically this one.

How will I use this package together with the other one? Will doing something like this suffice and not seem redundant?

const pgAsync = new PgAsync(uri)
const pgPubSub = new PGPubsub(uri)

If so, are there any implications in implementing it like this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
voxpellicommented, Jul 25, 2017

That should work superb 👍

0reactions
uLan08commented, Jul 25, 2017

Oh I completely failed to comprehend your reply earlier. I am publishing messages perfectly fine and yes I am sending it from my main library. What I actually am having trouble is with subscription and capturing the message payload and that is what I will be using this library for. So that will be the addChannel function. If there are really no implications in using another connection pool for listening then all is good.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pg - npm
Start using pg in your project by running `npm i pg`. There are 8005 other projects in the npm registry using pg.
Read more >
Packaging Your Dangerous Goods - FAA
The Packing Group is a grouping of substances (other than those in Hazard Class 2, Class 6 Division 2, and Class 7), in...
Read more >
“Error: Please install pg package manually” when trying to run ...
I expect it to run on using the script, but it just gives this error. node.js · postgresql · networking · npm ·...
Read more >
pg-package - Postgres database tools for R - RDRR.io
Description. Description. Set of handy function when extensively working with postgres database. Includes transactional logging using *logR* ...
Read more >
[Bug]: Using pg package results in an error · Issue #1770
pg -native is an optional peer dependency of pg. pg-native isn't used in our Remix app. This error doesn't occur when using pg...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found