Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pg-cursor

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-cursor - npm Package Versions

1
46

2.1.0

Diff

Changelog

Source

v2.1.0

  • Add support for SSL connections in JavaScript driver
  • this means you can connect to heroku postgres from your local machine without the native bindings!
  • Add field metadata to result object
  • Add ability for rows to be returned as arrays instead of objects
brianc
published 2.0.3 •

brianc
published 2.0.2 •

brianc
published 2.0.1 •

brianc
published 2.0.0 •

Changelog

Source

v2.0.0

  • Properly handle various PostgreSQL to JavaScript type conversions to avoid data loss:
PostgreSQL | pg@v2.0 JavaScript | pg@v1.0 JavaScript
--------------------------------|----------------
float4     | number (float)     | string
float8     | number (float)     | string
int8       | string             | number (int)
numeric    | string             | number (float)
decimal    | string             | number (float)

For more information see https://github.com/brianc/node-postgres/pull/353 If you are unhappy with these changes you can always override the built in type parsing fairly easily.

brianc
published 1.3.0 •

Changelog

Source

v1.3.0

  • Make client_encoding configurable and optional
brianc
published 1.2.2 •

brianc
published 1.2.1 •

brianc
published 1.2.0 •

Changelog

Source

v1.2.0

  • return field metadata on result object: access via result.fields[i].name/dataTypeID
brianc
published 1.1.0 •

Changelog

Source

v1.1.0

  • built in support for JSON data type for PostgreSQL Server @ v9.2.0 or greater
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