Обсуждение: [pgjdbc/pgjdbc] bb8a31: docs: fix no parameter connect string example(#10...

Поиск
Список
Период
Сортировка

[pgjdbc/pgjdbc] bb8a31: docs: fix no parameter connect string example(#10...

От
bpd0018
Дата:
Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: bb8a31508f3caef7532b87b50c19e092af2ec5f0
      https://github.com/pgjdbc/pgjdbc/commit/bb8a31508f3caef7532b87b50c19e092af2ec5f0
  Author: bpd0018 <bpd0018@gmail.com>
  Date:   2018-01-08 (Mon, 08 Jan 2018)

  Changed paths:
    M README.md

  Log Message:
  -----------
  docs: fix no parameter connect string example (#1056)

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.