Skip to content

update url connection-string handling to work with modern pq#4

Open
risicle wants to merge 1 commit into
Kount:masterfrom
omegagov:ris-modern-pq
Open

update url connection-string handling to work with modern pq#4
risicle wants to merge 1 commit into
Kount:masterfrom
omegagov:ris-modern-pq

Conversation

@risicle
Copy link
Copy Markdown

@risicle risicle commented Oct 22, 2021

Since lib/pq#818, pq.ParseURL will now quote the values in returned strings, so trim these if present. Also improve the parsing error message to include the troublesome string in question.

While we're at it, update driver tests to handle responses that newer pq versions may produce.

pq.ParseURL will now quote the values in returned strings, so trim
these if present. also improve the parsing error message to include
the troublesome string in question.

update driver tests to handle responses that newer pq versions may
produce.
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.

1 participant