pg_conv_string

ldmud-3.3.719/doc/efun/pg_conv_string · 606 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

OPTIONAL
SYNOPSIS
        string pg_conv_string(string str)

DESCRIPTION
        Convert the string <str> into a string that is correctly interpretated
        for usage as a string in pg_query(), e.g. ' is replaced with \' and so
        on.

        The function is available only if the driver is compiled with
        PostgreSQL support. In that case, __PGSQL__ is defined.

        The efun triggers a privilege violation ("pgsql", "pg_connect").

HISTORY
        Added in 3.3.708.

SEE ALSO
        pgsql(C), pg_query(E), pg_pending(E), pg_conv_string(E), pg_close(E),
        privilege_violation(M)

Site Stats

Snippets: 1791
Codebases: 571