Skip to content

Conversation

@pyramation
Copy link
Owner

No description provided.

matus123 and others added 30 commits June 6, 2016 23:42
change nodejs version to 8
- make async the default method, since sync parsing is probably a bad
idea.

- have sync throw on errors, to mirror the promise rejecting

- return/resolve with the result, rather than an object with a query
property.
Also fixes a bug where something wasn’t getting freed properly in the
old logic, causing the code to hang if the callback to our async
functions called `resolve()` from an outer promise.
1. Preserve dirs needed for build. I didn’t want to keep the compiled artifacts in these directories in the repo (since they get overwritten on install anyway, and are platform dependent), but the directories do need to be there for our current build script — which could just create them, but this is easier.

2. Build pg and the parser with min Mac version matching node-gyp's setting. This is needed to prevent an error when linking.

3. Point to a slightly-improved version of the parser, with richer nodes.
The published version for 1.2.0 didn’t quite match the code on Github.
@pyramation pyramation changed the title pg plpgsql query native breaking changes coming soon pg plpgsql query native Jul 9, 2020
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.

4 participants