Socket
Socket
Sign inDemoInstall

pg-native

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-native - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

test/domains.js

10

index.js

@@ -69,10 +69,6 @@ var Libpq = require('libpq');

//load our result object
pq.getResult();
while(pq.getResult()) {
if(pq.resultStatus() == 'PGRES_COPY_OUT') break;
};
//"read until results return null"
//or in our case ensure we only have one result
if(pq.getResult() && pq.resultStatus() != 'PGRES_COPY_OUT') {
return this._readError('Only one result at a time is accepted:' + pq.resultStatus());
}
var status = pq.resultStatus();

@@ -79,0 +75,0 @@ switch(status) {

{
"name": "pg-native",
"version": "0.5.1",
"version": "0.5.2",
"description": "A slightly nicer interface to Postgres over node-libpq",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc