summaryrefslogtreecommitdiff
path: root/libpq/tests/conninfo/expected.out
blob: d375e82b4ac47e98fcb077fbce47f601a6748754 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
trying postgresql://uri-user:secret@host:12345/db
user='uri-user' password='secret' dbname='db' host='host' port='12345' (inet)

trying postgresql://uri-user@host:12345/db
user='uri-user' dbname='db' host='host' port='12345' (inet)

trying postgresql://uri-user@host/db
user='uri-user' dbname='db' host='host' (inet)

trying postgresql://host:12345/db
dbname='db' host='host' port='12345' (inet)

trying postgresql://host/db
dbname='db' host='host' (inet)

trying postgresql://uri-user@host:12345/
user='uri-user' host='host' port='12345' (inet)

trying postgresql://uri-user@host/
user='uri-user' host='host' (inet)

trying postgresql://uri-user@
user='uri-user' (local)

trying postgresql://host:12345/
host='host' port='12345' (inet)

trying postgresql://host:12345
host='host' port='12345' (inet)

trying postgresql://host/db
dbname='db' host='host' (inet)

trying postgresql://host/
host='host' (inet)

trying postgresql://host
host='host' (inet)

trying postgresql://
(local)

trying postgresql://?hostaddr=127.0.0.1
hostaddr='127.0.0.1' (inet)

trying postgresql://example.com?hostaddr=63.1.2.4
host='example.com' hostaddr='63.1.2.4' (inet)

trying postgresql://%68ost/
host='host' (inet)

trying postgresql://host/db?user=uri-user
user='uri-user' dbname='db' host='host' (inet)

trying postgresql://host/db?user=uri-user&port=12345
user='uri-user' dbname='db' host='host' port='12345' (inet)

trying postgresql://host/db?u%73er=someotheruser&port=12345
user='someotheruser' dbname='db' host='host' port='12345' (inet)

trying postgresql://host/db?u%7aer=someotheruser&port=12345
uri-regress: invalid URI query parameter: "uzer"

trying postgresql://host:12345?user=uri-user
user='uri-user' host='host' port='12345' (inet)

trying postgresql://host?user=uri-user
user='uri-user' host='host' (inet)

trying postgresql://host?
host='host' (inet)

trying postgresql://[::1]:12345/db
dbname='db' host='::1' port='12345' (inet)

trying postgresql://[::1]/db
dbname='db' host='::1' (inet)

trying postgresql://[2001:db8::1234]/
host='2001:db8::1234' (inet)

trying postgresql://[200z:db8::1234]/
host='200z:db8::1234' (inet)

trying postgresql://[::1]
host='::1' (inet)

trying postgres://
(local)

trying postgres:///
(local)

trying postgres:///db
dbname='db' (local)

trying postgres://uri-user@/db
user='uri-user' dbname='db' (local)

trying postgres://?host=/path/to/socket/dir
host='/path/to/socket/dir' (local)

trying postgresql://host?uzer=
uri-regress: invalid URI query parameter: "uzer"

trying postgre://
uri-regress: missing "=" after "postgre://" in connection info string

trying postgres://[::1
uri-regress: end of string reached when looking for matching "]" in IPv6 host address in URI: "postgres://[::1"

trying postgres://[]
uri-regress: IPv6 host address may not be empty in URI: "postgres://[]"

trying postgres://[::1]z
uri-regress: unexpected character "z" at position 17 in URI (expected ":" or "/"): "postgres://[::1]z"

trying postgresql://host?zzz
uri-regress: missing key/value separator "=" in URI query parameter: "zzz"

trying postgresql://host?value1&value2
uri-regress: missing key/value separator "=" in URI query parameter: "value1"

trying postgresql://host?key=key=value
uri-regress: extra key/value separator "=" in URI query parameter: "key"

trying postgres://host?dbname=%XXfoo
uri-regress: invalid percent-encoded token: "%XXfoo"

trying postgresql://a%00b
uri-regress: forbidden value %00 in percent-encoded value: "a%00b"

trying postgresql://%zz
uri-regress: invalid percent-encoded token: "%zz"

trying postgresql://%1
uri-regress: invalid percent-encoded token: "%1"

trying postgresql://%
uri-regress: invalid percent-encoded token: "%"

trying postgres://@host
host='host' (inet)

trying postgres://host:/
host='host' (inet)

trying postgres://:12345/
port='12345' (local)

trying postgres://otheruser@?host=/no/such/directory
user='otheruser' host='/no/such/directory' (local)

trying postgres://otheruser@/?host=/no/such/directory
user='otheruser' host='/no/such/directory' (local)

trying postgres://otheruser@:12345?host=/no/such/socket/path
user='otheruser' host='/no/such/socket/path' port='12345' (local)

trying postgres://otheruser@:12345/db?host=/path/to/socket
user='otheruser' dbname='db' host='/path/to/socket' port='12345' (local)

trying postgres://:12345/db?host=/path/to/socket
dbname='db' host='/path/to/socket' port='12345' (local)

trying postgres://:12345?host=/path/to/socket
host='/path/to/socket' port='12345' (local)

trying postgres://%2Fvar%2Flib%2Fpostgresql/dbname
dbname='dbname' host='/var/lib/postgresql' (local)