MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | OPTIONAL |
| 2 | SYNOPSIS |
| 3 | void pg_close() |
| 4 | |
| 5 | DESCRIPTION |
| 6 | Close the database connection for the current object, if there is one. |
| 7 | |
| 8 | The function is available only if the driver is compiled with |
| 9 | PostgreSQL support. In that case, __PGSQL__ is defined. |
| 10 | |
| 11 | The efun triggers a privilege violation ("pgsql", "pg_close"). |
| 12 | |
| 13 | HISTORY |
| 14 | Added in 3.3.445. |
| 15 | LDMud 3.3.640 added the privilege violation. |
| 16 | |
| 17 | SEE ALSO |
| 18 | pgsql(C), pg_connect(E), pg_conv_string(E), pg_query(E), pg_pending(E), |
| 19 | privilege_violation(M) |