Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade pg-types to 4.0.2 for performance improvements #3133

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cesco69
Copy link

@cesco69 cesco69 commented Jan 23, 2024

pg-types 4.0.2 include performance improvements from brianc/node-pg-types#148

pg-types to 4.0.2 include performance improvements from brianc/node-pg-types#148
@sisou
Copy link

sisou commented Jun 10, 2024

This will also fix a Node 20 depreciation warning: DeprecationWarning: Buffer() is deprecated due to security and usability issues.

new Buffer() was used in an old version of postgres-bytea, which is depended on by pg-types. The buffer usage was updated in bendrucker/postgres-bytea@2317d6d, which went into release 2.0.0, which pg-types was updated to only in version 3.0.0 (brianc/node-pg-types@c605c7c).

@brianc
Copy link
Owner

brianc commented Jun 19, 2024

I want to do this, but pg-types upgrading to 4.x is a breaking change for node-postgres (date handling is different). I want to make some other changes & bundle it all up w/ a 9.0 release for pg so its gonna take some time...but its on my list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants