<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Roles on pgAssistant Blog</title><link>https://beh74.github.io/pgassistant-blog/tags/roles/</link><description>Recent content in Roles on pgAssistant Blog</description><generator>Hugo -- 0.147.0</generator><language>en-us</language><lastBuildDate>Sat, 25 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://beh74.github.io/pgassistant-blog/tags/roles/index.xml" rel="self" type="application/rss+xml"/><item><title>PostgreSQL Roles for pgAssistant</title><link>https://beh74.github.io/pgassistant-blog/post/pgassistant_security/</link><pubDate>Sat, 25 Jul 2026 00:00:00 +0000</pubDate><guid>https://beh74.github.io/pgassistant-blog/post/pgassistant_security/</guid><description>&lt;h2 id="purpose">Purpose&lt;/h2>
&lt;p>pgAssistant inspects PostgreSQL configuration, system catalogs, statistics,
schemas, relations, sequences, and query plans. Some optional features can also
run maintenance operations or reset statistics.&lt;/p>
&lt;p>This document recommends separating these capabilities between two login roles:&lt;/p>
&lt;ul>
&lt;li>&lt;code>pgassistant_analyze&lt;/code>: the default, read-only account used for dashboards,
reports, advisors, query ranking, query plans, and database design analysis.&lt;/li>
&lt;li>&lt;code>pgassistant_maintain&lt;/code>: a privileged account used only when an operator
explicitly requests maintenance, such as &lt;code>VACUUM&lt;/code>, &lt;code>ANALYZE&lt;/code>, or a statistics
reset.&lt;/li>
&lt;/ul>
&lt;p>The maintenance role inherits the analysis role, so it can perform the same
diagnostic work in addition to its explicitly granted maintenance operations.&lt;/p></description></item></channel></rss>