1trying postgresql://uri-user:secret@host:12345/db
2user='uri-user' password='secret' dbname='db' host='host' port='12345' (inet)
3
4trying postgresql://uri-user@host:12345/db
5user='uri-user' dbname='db' host='host' port='12345' (inet)
6
7trying postgresql://uri-user@host/db
8user='uri-user' dbname='db' host='host' (inet)
9
10trying postgresql://host:12345/db
11dbname='db' host='host' port='12345' (inet)
12
13trying postgresql://host/db
14dbname='db' host='host' (inet)
15
16trying postgresql://uri-user@host:12345/
17user='uri-user' host='host' port='12345' (inet)
18
19trying postgresql://uri-user@host/
20user='uri-user' host='host' (inet)
21
22trying postgresql://uri-user@
23user='uri-user' (local)
24
25trying postgresql://host:12345/
26host='host' port='12345' (inet)
27
28trying postgresql://host:12345
29host='host' port='12345' (inet)
30
31trying postgresql://host/db
32dbname='db' host='host' (inet)
33
34trying postgresql://host/
35host='host' (inet)
36
37trying postgresql://host
38host='host' (inet)
39
40trying postgresql://
41(local)
42
43trying postgresql://?hostaddr=127.0.0.1
44hostaddr='127.0.0.1' (inet)
45
46trying postgresql://example.com?hostaddr=63.1.2.4
47host='example.com' hostaddr='63.1.2.4' (inet)
48
49trying postgresql://%68ost/
50host='host' (inet)
51
52trying postgresql://host/db?user=uri-user
53user='uri-user' dbname='db' host='host' (inet)
54
55trying postgresql://host/db?user=uri-user&port=12345
56user='uri-user' dbname='db' host='host' port='12345' (inet)
57
58trying postgresql://host/db?u%73er=someotheruser&port=12345
59user='someotheruser' dbname='db' host='host' port='12345' (inet)
60
61trying postgresql://host/db?u%7aer=someotheruser&port=12345
62uri-regress: invalid URI query parameter: "uzer"
63
64trying postgresql://host:12345?user=uri-user
65user='uri-user' host='host' port='12345' (inet)
66
67trying postgresql://host?user=uri-user
68user='uri-user' host='host' (inet)
69
70trying postgresql://host?
71host='host' (inet)
72
73trying postgresql://[::1]:12345/db
74dbname='db' host='::1' port='12345' (inet)
75
76trying postgresql://[::1]/db
77dbname='db' host='::1' (inet)
78
79trying postgresql://[2001:db8::1234]/
80host='2001:db8::1234' (inet)
81
82trying postgresql://[200z:db8::1234]/
83host='200z:db8::1234' (inet)
84
85trying postgresql://[::1]
86host='::1' (inet)
87
88trying postgres://
89(local)
90
91trying postgres:///
92(local)
93
94trying postgres:///db
95dbname='db' (local)
96
97trying postgres://uri-user@/db
98user='uri-user' dbname='db' (local)
99
100trying postgres://?host=/path/to/socket/dir
101host='/path/to/socket/dir' (local)
102
103trying postgresql://host?uzer=
104uri-regress: invalid URI query parameter: "uzer"
105
106trying postgre://
107uri-regress: missing "=" after "postgre://" in connection info string
108
109trying postgres://[::1
110uri-regress: end of string reached when looking for matching "]" in IPv6 host address in URI: "postgres://[::1"
111
112trying postgres://[]
113uri-regress: IPv6 host address may not be empty in URI: "postgres://[]"
114
115trying postgres://[::1]z
116uri-regress: unexpected character "z" at position 17 in URI (expected ":" or "/"): "postgres://[::1]z"
117
118trying postgresql://host?zzz
119uri-regress: missing key/value separator "=" in URI query parameter: "zzz"
120
121trying postgresql://host?value1&value2
122uri-regress: missing key/value separator "=" in URI query parameter: "value1"
123
124trying postgresql://host?key=key=value
125uri-regress: extra key/value separator "=" in URI query parameter: "key"
126
127trying postgres://host?dbname=%XXfoo
128uri-regress: invalid percent-encoded token: "%XXfoo"
129
130trying postgresql://a%00b
131uri-regress: forbidden value %00 in percent-encoded value: "a%00b"
132
133trying postgresql://%zz
134uri-regress: invalid percent-encoded token: "%zz"
135
136trying postgresql://%1
137uri-regress: invalid percent-encoded token: "%1"
138
139trying postgresql://%
140uri-regress: invalid percent-encoded token: "%"
141
142trying postgres://@host
143host='host' (inet)
144
145trying postgres://host:/
146host='host' (inet)
147
148trying postgres://:12345/
149port='12345' (local)
150
151trying postgres://otheruser@?host=/no/such/directory
152user='otheruser' host='/no/such/directory' (local)
153
154trying postgres://otheruser@/?host=/no/such/directory
155user='otheruser' host='/no/such/directory' (local)
156
157trying postgres://otheruser@:12345?host=/no/such/socket/path
158user='otheruser' host='/no/such/socket/path' port='12345' (local)
159
160trying postgres://otheruser@:12345/db?host=/path/to/socket
161user='otheruser' dbname='db' host='/path/to/socket' port='12345' (local)
162
163trying postgres://:12345/db?host=/path/to/socket
164dbname='db' host='/path/to/socket' port='12345' (local)
165
166trying postgres://:12345?host=/path/to/socket
167host='/path/to/socket' port='12345' (local)
168
169trying postgres://%2Fvar%2Flib%2Fpostgresql/dbname
170dbname='dbname' host='/var/lib/postgresql' (local)
171
172