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.

Use a specific version of "pg-types"

See original GitHub issue

Currently "pg-types": "1.*" is used in package.json. This should use the specific version. Today we ran in to this issue https://github.com/brianc/node-pg-types/issues/34 since we have “1.*”

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
charmandercommented, Aug 21, 2017

Specifying an exact version of pg-types avoids changing behaviour (even unintentionally) within a version of pg, so I’m very much for it. + @brianc – did you mention something about moving all pg modules into a single repo? This fits that.

0reactions
charmandercommented, Nov 14, 2017

A ^ range is fine if pg-types follows semver, and a ~ range isn’t necessarily enough if it doesn’t… but given that brianc maintains them both, ~ probably doesn’t hurt.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pg-types | Yarn - Package Manager
pg-types. This is the code that turns all the raw text from postgres into JavaScript types for node-postgres. use. This module is consumed...
Read more >
pgtype - Go Packages
Name is a type used for PostgreSQL's special 63-byte name data type, used for identifiers like table names. The pg_class.relname column is a...
Read more >
Documentation: 15: 36.6. pgtypes Library - PostgreSQL
Special Constants of pgtypeslib. The pgtypes library maps PostgreSQL database types to C equivalents that can be used in C programs.
Read more >
pg-promise returns integers as strings - node.js - Stack Overflow
setTypeParser(20, parseInt);. Another solution as a workaround is to use the pg-types package directly. In it's latest version. const types = ...
Read more >
PGType (PGJDBC-NG 0.8.9)
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate...
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