forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit91287b5
committed
psql: Add tests for repeated calls of \bind[_named]
The implementation assumes that on multiple calls of these meta-commandsthe last one wins. Multiple \g calls in-between mean multipleexecutions.There were no tests to check these properties, hence let's addsomething.Author: Jelte Fennema-Nio, Michael PaquierDiscussion:https://postgr.es/m/CAGECzQSTE7CoM=Gst56Xj8pOvjaPr09+7jjtWqTC40pGETyAuA@mail.gmail.com1 parent658fc6c commit91287b5
2 files changed
+47
-0
lines changedLines changed: 38 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
144 | 163 |
| |
145 | 164 |
| |
146 | 165 |
| |
| |||
173 | 192 |
| |
174 | 193 |
| |
175 | 194 |
| |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
176 | 214 |
| |
177 | 215 |
| |
178 | 216 |
| |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
66 | 70 |
| |
67 | 71 |
| |
68 | 72 |
| |
| |||
76 | 80 |
| |
77 | 81 |
| |
78 | 82 |
| |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
79 | 88 |
| |
80 | 89 |
| |
81 | 90 |
| |
|
0 commit comments
Comments
(0)