- Notifications
You must be signed in to change notification settings - Fork5
Commit78bc83f
committed
* Includes tab completion. It's not magic, but it's very cool. At any
rate it's better than what used to be there.* Does proper SQL "host variable" substitution as pointed out by Andreas Zeugwetter (thanks): select * from :foo; Also some changes in how ':' and ';' are treated (escape with \ to send to backend). This does_not_ affect the '::' cast operator, but perhaps others that contain : or ; (but there are none right now).* To show description with a <something> listing, append '?' to command name, e.g., \df?. This seemed to be the convenient and logicalsolution. Or append a '+' to see more useless information, e.g., \df+.* Fixed fflush()'ing bug pointed out by Jan during the regression test discussion.* Added LastOid variable. This ought to take care of TODO item "Add a function to return the last inserted oid, for use in psql scripts" (under CLIENTS) E.g.,insert into foo values(...);insert into bar values(..., :LastOid);\echo $LastOid* \d command shows constraints, rules, and triggers defined on the table (in addition to indices)* Various fixes, optimizations, corrections* Documentation update as wellNote: This now requires snprintf(), which, if necessary, is taken fromsrc/backend/port. This is certainly a little weird, but it shouldsufficeuntil a source tree cleanup is done.Enjoy.--Peter Eisentraut Sernanders väg 10:1151 parentc83b4d1 commit78bc83f
File tree
22 files changed
+1769
-794
lines changed- doc/src/sgml/ref
- src/bin/psql
22 files changed
+1769
-794
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
37 | 45 | | |
38 | 46 | | |
39 | 47 | | |
| |||
69 | 77 | | |
70 | 78 | | |
71 | 79 | | |
72 | | - | |
| 80 | + | |
73 | 81 | | |
74 | 82 | | |
75 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
46 | 45 | | |
47 | | - | |
48 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | | - | |
51 | | - | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
53 | 61 | | |
54 | 62 | | |
55 | 63 | | |
| |||
78 | 86 | | |
79 | 87 | | |
80 | 88 | | |
81 | | - | |
| 89 | + | |
82 | 90 | | |
83 | 91 | | |
84 | 92 | | |
| |||
120 | 128 | | |
121 | 129 | | |
122 | 130 | | |
123 | | - | |
| 131 | + | |
124 | 132 | | |
125 | 133 | | |
126 | 134 | | |
| |||
194 | 202 | | |
195 | 203 | | |
196 | 204 | | |
197 | | - | |
198 | 205 | | |
199 | 206 | | |
200 | 207 | | |
201 | 208 | | |
202 | 209 | | |
203 | 210 | | |
204 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
205 | 214 | | |
206 | 215 | | |
207 | 216 | | |
| |||
216 | 225 | | |
217 | 226 | | |
218 | 227 | | |
219 | | - | |
| 228 | + | |
220 | 229 | | |
221 | 230 | | |
222 | 231 | | |
223 | | - | |
| 232 | + | |
224 | 233 | | |
225 | 234 | | |
226 | 235 | | |
| |||
249 | 258 | | |
250 | 259 | | |
251 | 260 | | |
252 | | - | |
| 261 | + | |
253 | 262 | | |
254 | 263 | | |
255 | 264 | | |
| |||
274 | 283 | | |
275 | 284 | | |
276 | 285 | | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
| 286 | + | |
281 | 287 | | |
282 | 288 | | |
283 | 289 | | |
| |||
287 | 293 | | |
288 | 294 | | |
289 | 295 | | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
| 296 | + | |
294 | 297 | | |
295 | 298 | | |
296 | 299 | | |
297 | 300 | | |
298 | | - | |
299 | | - | |
| 301 | + | |
300 | 302 | | |
301 | 303 | | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
306 | 309 | | |
307 | 310 | | |
308 | 311 | | |
| |||
335 | 338 | | |
336 | 339 | | |
337 | 340 | | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
338 | 344 | | |
339 | 345 | | |
340 | 346 | | |
| 347 | + | |
341 | 348 | | |
342 | | - | |
| 349 | + | |
343 | 350 | | |
344 | | - | |
345 | | - | |
| 351 | + | |
| 352 | + | |
346 | 353 | | |
347 | 354 | | |
348 | | - | |
| 355 | + | |
349 | 356 | | |
350 | 357 | | |
351 | 358 | | |
352 | 359 | | |
353 | 360 | | |
354 | | - | |
| 361 | + | |
355 | 362 | | |
356 | 363 | | |
357 | | - | |
| 364 | + | |
358 | 365 | | |
359 | 366 | | |
360 | | - | |
| 367 | + | |
361 | 368 | | |
362 | 369 | | |
363 | 370 | | |
364 | 371 | | |
365 | 372 | | |
366 | | - | |
| 373 | + | |
367 | 374 | | |
368 | 375 | | |
369 | 376 | | |
370 | 377 | | |
371 | 378 | | |
372 | 379 | | |
373 | 380 | | |
374 | | - | |
| 381 | + | |
375 | 382 | | |
376 | | - | |
| 383 | + | |
377 | 384 | | |
378 | 385 | | |
379 | 386 | | |
| |||
399 | 406 | | |
400 | 407 | | |
401 | 408 | | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
| 409 | + | |
406 | 410 | | |
407 | 411 | | |
408 | 412 | | |
409 | | - | |
410 | 413 | | |
411 | 414 | | |
412 | 415 | | |
| |||
419 | 422 | | |
420 | 423 | | |
421 | 424 | | |
422 | | - | |
423 | | - | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
424 | 437 | | |
425 | 438 | | |
426 | 439 | | |
427 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
428 | 446 | | |
429 | 447 | | |
430 | 448 | | |
| |||
439 | 457 | | |
440 | 458 | | |
441 | 459 | | |
| 460 | + | |
442 | 461 | | |
443 | 462 | | |
444 | | - | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
445 | 466 | | |
446 | 467 | | |
447 | 468 | | |
| |||
470 | 491 | | |
471 | 492 | | |
472 | 493 | | |
473 | | - | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
474 | 497 | | |
475 | 498 | | |
476 | 499 | | |
| |||
828 | 851 | | |
829 | 852 | | |
830 | 853 | | |
831 | | - | |
| 854 | + | |
832 | 855 | | |
833 | 856 | | |
834 | 857 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 32 | | |
37 | 33 | | |
38 | 34 | | |
| |||
0 commit comments
Comments
(0)