The table_population Module

Executes PL/pgSQL procedure from a file.

Primarily used to populate a table from a view

File has to be loaded before executing procedure, but cannot be loaded in advance, because some tables are created dynamically just before the execution

class PopulateConfig(subclass, doc)[source]

Creates a new object

Parameters
  • subclass – A concrete class containing configuration information Configuration options must be defined as class memebers with names, starting with one ‘_’ characters and values be instances of :class Argument:

  • description – Optional text to use as description. If not specified, then it is extracted from subclass documentation

class TablePopulator(context: Optional[PopulateConfig] = None)[source]
init_cms(args)[source]