Module dream_postgres_driver_types

The type modules that dream_postgres_driver adds to pg_types.

Description

The type modules that dream_postgres_driver adds to pg_types.

pg_types builds the type map of a pool from its own modules and then from the modules in its modules application setting. When two modules register the same send function, the later module is used. dream_postgres_driver puts its own modules first in that setting and keeps the modules that the user set after them, so a user module still replaces a dream_postgres_driver module.

Each module mirrors a change to pg_types that is not in a pg_types release. Remove a module when the pg_types release that dream_postgres_driver uses has the change.

Function Index

modules/0The type modules that dream_postgres_driver adds, in the order they are used.
set_modules/0Sets the pg_types modules setting to the dream_postgres_driver modules, followed by the modules that were already set and are not dream_postgres_driver modules.

Function Details

modules/0

modules() -> [module()]

The type modules that dream_postgres_driver adds, in the order they are used.

set_modules/0

set_modules() -> ok

Sets the pg_types modules setting to the dream_postgres_driver modules, followed by the modules that were already set and are not dream_postgres_driver modules. Call it before a pool loads its types. dream_postgres_driver_app calls it at the start of the application.


Generated by EDoc