MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | OPTIONAL |
| 2 | SYNOPSIS |
| 3 | string pg_conv_string(string str) |
| 4 | |
| 5 | DESCRIPTION |
| 6 | Convert the string <str> into a string that is correctly interpretated |
| 7 | for usage as a string in pg_query(), e.g. ' is replaced with \' and so |
| 8 | on. |
| 9 | |
| 10 | The function is available only if the driver is compiled with |
| 11 | PostgreSQL support. In that case, __PGSQL__ is defined. |
| 12 | |
| 13 | The efun triggers a privilege violation ("pgsql", "pg_connect"). |
| 14 | |
| 15 | HISTORY |
| 16 | Added in 3.3.708. |
| 17 | |
| 18 | SEE ALSO |
| 19 | pgsql(C), pg_query(E), pg_pending(E), pg_conv_string(E), pg_close(E), |
| 20 | privilege_violation(M) |