forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc59b8ba
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 parent997d5b4 commitc59b8ba
1 file changed
+17
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1482 | 1482 | | |
1483 | 1483 | | |
1484 | 1484 | | |
1485 | | - | |
| 1485 | + | |
1486 | 1486 | | |
1487 | 1487 | | |
1488 | 1488 | | |
1489 | | - | |
1490 | | - | |
| 1489 | + | |
| 1490 | + | |
1491 | 1491 | | |
1492 | 1492 | | |
1493 | | - | |
| 1493 | + | |
1494 | 1494 | | |
1495 | 1495 | | |
1496 | 1496 | | |
| |||
1499 | 1499 | | |
1500 | 1500 | | |
1501 | 1501 | | |
1502 | | - | |
| 1502 | + | |
1503 | 1503 | | |
1504 | 1504 | | |
1505 | 1505 | | |
1506 | | - | |
1507 | | - | |
1508 | | - | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
1509 | 1509 | | |
1510 | 1510 | | |
1511 | 1511 | | |
| |||
1707 | 1707 | | |
1708 | 1708 | | |
1709 | 1709 | | |
1710 | | - | |
| 1710 | + | |
1711 | 1711 | | |
1712 | 1712 | | |
1713 | 1713 | | |
| |||
2859 | 2859 | | |
2860 | 2860 | | |
2861 | 2861 | | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
2862 | 2870 | | |
2863 | 2871 | | |
2864 | 2872 | | |
| |||
0 commit comments
Comments
(0)