forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd1ca2a1
committed
Update examples for string-related functions.
In the example for decode(), show the bytea result in hex format,since that's now the default. Use an E'' string in the example forquote_literal(), so that it works regardless of thestandard_conforming_strings setting. On the functions-for-binary-stringspage, leave the examples as-is for readability, but add a note pointing outthat they are shown in escape format. Per comments from Thom Brown.Also, improve the description for encode() and decode() a tad.Backpatch to 9.0, where bytea_output was introduced.1 parentf1d8692 commitd1ca2a1
1 file changed
+17
-9
lines changedLines changed: 17 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1427 | 1427 |
| |
1428 | 1428 |
| |
1429 | 1429 |
| |
1430 |
| - | |
| 1430 | + | |
1431 | 1431 |
| |
1432 | 1432 |
| |
1433 | 1433 |
| |
1434 |
| - | |
1435 |
| - | |
| 1434 | + | |
| 1435 | + | |
1436 | 1436 |
| |
1437 | 1437 |
| |
1438 |
| - | |
| 1438 | + | |
1439 | 1439 |
| |
1440 | 1440 |
| |
1441 | 1441 |
| |
1442 | 1442 |
| |
1443 | 1443 |
| |
1444 |
| - | |
| 1444 | + | |
1445 | 1445 |
| |
1446 | 1446 |
| |
1447 | 1447 |
| |
1448 |
| - | |
1449 |
| - | |
1450 |
| - | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
1451 | 1451 |
| |
1452 | 1452 |
| |
1453 | 1453 |
| |
| |||
1570 | 1570 |
| |
1571 | 1571 |
| |
1572 | 1572 |
| |
1573 |
| - | |
| 1573 | + | |
1574 | 1574 |
| |
1575 | 1575 |
| |
1576 | 1576 |
| |
| |||
2620 | 2620 |
| |
2621 | 2621 |
| |
2622 | 2622 |
| |
| 2623 | + | |
| 2624 | + | |
| 2625 | + | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
2623 | 2631 |
| |
2624 | 2632 |
| |
2625 | 2633 |
| |
|
0 commit comments
Comments
(0)