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

docs: fix no parameter connect string example #1056

Merged
merged 1 commit into from Jan 8, 2018

Conversation

@bpd0018
Copy link
Contributor

@bpd0018 bpd0018 commented Jan 6, 2018

postgresql-42.1.4 - DriverManager.getConnection("jdbc:postgresql:/", username, password) throws org.postgresql.util.PSQLException: FATAL: database "/" does not exist. The trailing slash is being interpreted as the database name. DriverManager.getConnection("jdbc:postgresql:", username, password) connects to the default port on localhost using the user's name as the database.

postgresql-42.1.4 - DriverManager.getConnection("jdbc:postgresql:/") throws org.postgresql.util.PSQLException: FATAL: database "/" does not exist. The trailing slash is being interpreted as the database name. DriverManager.getConnection("jdbc:postgresql:") connects to the default port on localhost using the user's name as the database.
@codecov-io
Copy link

@codecov-io codecov-io commented Jan 6, 2018

Codecov Report

Merging #1056 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1056      +/-   ##
============================================
+ Coverage      67.1%   67.14%   +0.03%     
- Complexity     3653     3655       +2     
============================================
  Files           170      170              
  Lines         15618    15618              
  Branches       2525     2525              
============================================
+ Hits          10481    10486       +5     
+ Misses         3947     3943       -4     
+ Partials       1190     1189       -1
@davecramer davecramer merged commit bb8a315 into pgjdbc:master Jan 8, 2018
2 checks passed
2 checks passed
codecov/project 67.14% (+0.03%) compared to d7f0f27
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
rhavermans added a commit to bolcom/pgjdbc that referenced this pull request Jul 13, 2018
postgresql-42.1.4 - DriverManager.getConnection("jdbc:postgresql:/") throws org.postgresql.util.PSQLException: FATAL: database "/" does not exist. The trailing slash is being interpreted as the database name. DriverManager.getConnection("jdbc:postgresql:") connects to the default port on localhost using the user's name as the database.
rhavermans added a commit to bolcom/pgjdbc that referenced this pull request Jul 13, 2018
postgresql-42.1.4 - DriverManager.getConnection("jdbc:postgresql:/") throws org.postgresql.util.PSQLException: FATAL: database "/" does not exist. The trailing slash is being interpreted as the database name. DriverManager.getConnection("jdbc:postgresql:") connects to the default port on localhost using the user's name as the database.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.