postgresql data source
blackstork/postgresql
, v0.4.1
Installation #
To use postgresql
data source, you must install the plugin blackstork/postgresql
.
To install the plugin, add the full plugin name to the plugin_versions
map in the Fabric global configuration block (see Global configuration for more details), as shown below:
fabric {
plugin_versions = {
"blackstork/postgresql" = ">= v0.4.1"
}
}
Note the version constraint set for the plugin.
Configuration #
The data source supports the following configuration parameters:
config data postgresql {
database_url = <string> # required
}
Usage #
The data source supports the following parameters in the data blocks:
data postgresql {
sql_args = <list of dynamic> # optional
sql_query = <string> # required
}