forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2953cd6
committed
Only quote libpq connection string values that need quoting.
There's no harm in excessive quoting per se, but it makes the strings nicerto read. The values can get quite unwieldy, when they're first quoted withinwithin single-quotes when included in the connection string, and then allthe single-quotes are escaped when the connection string is passed as ashell argument.1 parent3dee636 commit2953cd6
1 file changed
+31
-6
lines changedLines changed: 31 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2038 | 2038 |
| |
2039 | 2039 |
| |
2040 | 2040 |
| |
2041 |
| - | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
2042 | 2060 |
| |
2043 |
| - | |
2044 |
| - | |
2045 |
| - | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
2046 | 2067 |
| |
2047 |
| - | |
2048 |
| - | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
2049 | 2072 |
| |
| 2073 | + | |
| 2074 | + | |
2050 | 2075 |
| |
2051 | 2076 |
| |
2052 | 2077 |
| |
|
0 commit comments
Comments
(0)