Commit a71759a
James William Pye
Variety: add documentation, fix bit/varbit, add Row.transform, and change xact.
* Add Row interface documentation. This is remarkably useful for informing the
user about transform and some of the distinctions from mappings and sequences.
* Change Transaction.__exit__ to indirectly require prepare() by only calling
commit(). The prior double with-statement allowed for potential misuse
of a prepared transaction block. Generally, it is somewhat desirable to make
using the prepared transaction interface directly; rather a manager *should* be
constructed for dealing with global transaction records and dealing with the
prepare sequence on exit.
* Add documentation for ps.load() against COPY FROM STDIN statements.
* bit/varbit had yet to be fixed for Python 3.
* Indent CODE, SEVERITY, CONTEXT, LOCATION, etc in exception printout.1 parent 441ea9d commit a71759a
6 files changed
Lines changed: 491 additions & 121 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
359 | | - | |
| 358 | + | |
| 359 | + | |
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
| 370 | + | |
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
| 377 | + | |
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
| 388 | + | |
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
0 commit comments