File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/postgres_schema.cpython-310.pyc
Back
o ;jX � @ sD d Z ddlZe�e�Zdd� Z d dd�Z d dd�ZdS )z� Management of PostgreSQL schemas ================================ The postgres_schemas module is used to create and manage Postgres schemas. .. code-block:: yaml public: postgres_schema.present 'dbname' 'name' � Nc C s dt vrdS dS )z5 Only load if the postgres module is present �postgres.schema_exists)FzFUnable to load postgres module. Make sure `postgres.bins_dir` is set.T)�__salt__� r r �O/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/postgres_schema.py�__virtual__ s r c C s� | |i dd|� d| � �d�}|||||d�} t d | |fi | ��} d}| du rGtd r9d|d <