Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Database Drivers > Postgres DB Driver > Functions
activate/1
Description
activate/1 is an Erlang function exported by "postgres" module.
With this function you can activate previously deactivated connection. Please refer to PostgreSQL documentation for further instructions.
References
•connect/1
Parameters
Name
Type
Connection
integer()
Connection handle.
Result
Value or Type
{ok, Code}
Operation code
Code Sample
> postgres:activate(7689345632).