postgresql data source

blackstork/postgresql, v0.4.2

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.2"
  }
}

Note the version constraint set for the plugin.

Configuration

The data source supports the following configuration arguments:

config data postgresql {
  # Required string.
  # For example:
  database_url = "some string"
}

Usage

The data source supports the following execution arguments:

data postgresql {
  # Required string.
  # For example:
  sql_query = "some string"

  # Optional list of any single type.
  # Default value:
  sql_args = null
}