Skip to content

Commit 1fd2f4b

Browse files
authored
Merge pull request #301 from JuliaDatabases/ed/illustrative-opts
Add some illustrative options to LibPQ.Connection example to help new users
2 parents 9609dee + edb0759 commit 1fd2f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A Julia wrapper for the PostgreSQL `libpq` [C library](https://www.postgresql.or
1616
```julia
1717
using LibPQ, Tables
1818

19-
conn = LibPQ.Connection("dbname=postgres")
19+
conn = LibPQ.Connection("dbname=postgres host=localhost port=5432")
2020
result = execute(conn, "SELECT typname FROM pg_type WHERE oid = 16")
2121
data = columntable(result)
2222

0 commit comments

Comments
 (0)