File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/postgresql.cpython-310.pyc
o
i��d[ � @ 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� SCLPlugin� 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)�services)r zpostgresql-commonz' (password visible in process listings)�pghomez/var/lib/pgsqlzpsql server home directory)�default�desc�username�postgreszusername for pg_dump)r �val_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 portN�
pgdump.tarc C s� | � d�rd| � d�sdtjv rW| � d�r| � d�tjd<