Use a specific version of "pg-types"
See original GitHub issueCurrently "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:
- Created 8 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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.