|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.368 2007/02/2018:18:05 momjian Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.369 2007/02/2019:59:04 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="functions"> |
4 | 4 | <title>Functions and Operators</title> |
|
1356 | 1356 | </entry> |
1357 | 1357 | <entry><type>text</type></entry> |
1358 | 1358 | <entry> |
1359 | | - Encode binary data to<acronym>ASCII</acronym>-only representation. Supported |
| 1359 | + Encode binary data todifferent representation. Supported |
1360 | 1360 | types are: <literal>base64</>, <literal>hex</>, <literal>escape</>. |
| 1361 | + <literal>Escape</> merely outputs null bytes as <literal>\000</> and |
| 1362 | + doubles backslashes. |
1361 | 1363 | </entry> |
1362 | 1364 | <entry><literal>encode( E'123\\000\\001', 'base64')</literal></entry> |
1363 | 1365 | <entry><literal>MTIzAAE=</literal></entry> |
|