File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/postgresql.cpython-39.pyc
a
\��hu � @ sj d dl Z d dlmZmZmZmZmZ d dlmZ G dd� de�Z G dd� de e�Z
G dd � d e ee�ZdS )
� N)�Plugin�UbuntuPlugin�DebianPlugin�RedHatPlugin� PluginOpt)�findc @ s� e Zd ZdZdZdZdZdZedddd �ed
de dd
�edde de d
�edde dd
�edde dd
�edde
dd
�gZddd�Zdd� Z
dS )�
PostgreSQLzPostgreSQL RDBMS�
postgresql)Zservices)r zpostgresql-commonz' (password visible in process listings)�pghomez/var/lib/pgsqlzpsql server home directory)�default�desc�usernameZpostgreszusername for pg_dump)r Zval_typer �password� zpassword for pg_dump�dbnamez"database name to dump with pg_dump�dbhostz.database hostname/IP address (no unix sockets)�dbporti8 zdatabase server listening port�
pgdump.tarc
C s� | � d�r�| � d�sdtjv r�| � d�r8| � d�tjd<