blob: af4f8f0a2c9063e78aba932770284fb8ff3af77e [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001OPTIONAL
2SYNOPSIS
3 void pg_close()
4
5DESCRIPTION
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
13HISTORY
14 Added in 3.3.445.
15 LDMud 3.3.640 added the privilege violation.
16
17SEE ALSO
18 pgsql(C), pg_connect(E), pg_conv_string(E), pg_query(E), pg_pending(E),
19 privilege_violation(M)