Skip to content

Support more modes to set the host as a socket - #34

Merged
hjr3 merged 3 commits into
iceddev:masterfrom
danielrozenberg:support-other-socket-modes
Feb 1, 2020
Merged

hjr3 merged 3 commits into
iceddev:masterfrom
danielrozenberg:support-other-socket-modes

Conversation

@danielrozenberg

Copy link
Copy Markdown
Contributor

Based on libpq-connect docs (section 33.1.1.2), support:

  • Overriding the host with &host= query param at the end
  • Specifying a socket as a URL-encoded hostname starting with %2F

@hjr3 hjr3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Thank you the PR!

@danielrozenberg

Copy link
Copy Markdown
Contributor Author

@hjr3 any chance of getting a new npm release? :D

@danielrozenberg

Copy link
Copy Markdown
Contributor Author

Thanks!

danielrozenberg added a commit to danielrozenberg/knex that referenced this pull request Apr 6, 2020
kibertoad pushed a commit to knex/knex that referenced this pull request Apr 12, 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.

2 participants