]> granicus.if.org Git - postgresql/commit
libpq: URI parsing fixes
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 28 May 2012 19:44:34 +0000 (22:44 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 28 May 2012 19:44:34 +0000 (22:44 +0300)
commit2d612abd4d330cd9d3f5a3f5936b20a6e837a69c
tree37f01aeb77163b57f6fa51a3a717efd430eed033
parent388d2516792bb22d461d0b2af38730bfdcbf9027
libpq: URI parsing fixes

Drop special handling of host component with slashes to mean
Unix-domain socket.  Specify it as separate parameter or using
percent-encoding now.

Allow omitting username, password, and port even if the corresponding
designators are present in URI.

Handle percent-encoding in query parameter keywords.

Alex Shulgin

some documentation improvements by myself
doc/src/sgml/libpq.sgml
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/test/expected.out
src/interfaces/libpq/test/regress.in