<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>BareSQL on SoftDevStudio.com</title>
    <link>https://softdevstudio.com/tags/baresql/</link>
    <description>Recent content in BareSQL on SoftDevStudio.com</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 02 Nov 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://softdevstudio.com/tags/baresql/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>BareSQL Audit Reads Every Database and Row Security Conditions</title>
      <link>https://softdevstudio.com/baresql-audit-reads-every-database-and-row-security-conditions/</link>
      <pubDate>Mon, 02 Nov 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/baresql-audit-reads-every-database-and-row-security-conditions/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://softdevstudio.com/baresql-joins-the-studio-with-an-access-audit-for-postgresql-and-a-check-for-sql-that-answers-differently/&#34;&gt;BareSQL&lt;/a&gt; 0.3.0 lets one audit cover a whole PostgreSQL server. With &lt;code&gt;--all-databases&lt;/code&gt;, or &lt;code&gt;--database&lt;/code&gt; given more than once, each database is read in its own read-only transaction, and the report shows every login once with what it can read in all of them, plus the databases it may not connect to.&lt;/p&gt;&#xA;&lt;p&gt;The audit also reads simple row security conditions now. A policy of &lt;code&gt;true&lt;/code&gt; is reported as letting every row through, and a condition on the role&amp;rsquo;s name, a constant or a session setting is spelled out on the route. A new finding, &lt;code&gt;rls-session-setting&lt;/code&gt;, flags policies that pick the tenant from a setting such as &lt;code&gt;app.tenant_id&lt;/code&gt;, which any session can change with &lt;code&gt;SET&lt;/code&gt;. An independent review went over the new code twice before the release. &lt;a href=&#34;https://baresql.com/baresql-audit-now-reads-every-database-of-a-server-and-says-what-row-security-lets-through/&#34;&gt;The release post&lt;/a&gt; has the details.&lt;/p&gt;</description>
    </item>
    <item>
      <title>BareSQL Portable Flags Schema Changes and Reserved Words</title>
      <link>https://softdevstudio.com/baresql-portable-flags-schema-changes-and-reserved-words/</link>
      <pubDate>Mon, 02 Nov 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/baresql-portable-flags-schema-changes-and-reserved-words/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://softdevstudio.com/baresql-joins-the-studio-with-an-access-audit-for-postgresql-and-a-check-for-sql-that-answers-differently/&#34;&gt;BareSQL&lt;/a&gt; 0.2.0 adds eleven rules to BareSQL Portable, one for each difference the first release listed without one. That makes 69. Migrations get the most: changing a column takes &lt;code&gt;ALTER COLUMN ... TYPE&lt;/code&gt; on PostgreSQL and &lt;code&gt;MODIFY&lt;/code&gt; on MySQL, SQLite can do neither, and the rule knows 21 forms like these. Column names such as &lt;code&gt;rank&lt;/code&gt;, &lt;code&gt;key&lt;/code&gt; and &lt;code&gt;user&lt;/code&gt; are reserved words on some engines, and lint now says which.&lt;/p&gt;</description>
    </item>
    <item>
      <title>BareSQL Joins the Studio With an Access Audit for PostgreSQL and a Check for SQL That Answers Differently</title>
      <link>https://softdevstudio.com/baresql-joins-the-studio-with-an-access-audit-for-postgresql-and-a-check-for-sql-that-answers-differently/</link>
      <pubDate>Mon, 26 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/baresql-joins-the-studio-with-an-access-audit-for-postgresql-and-a-check-for-sql-that-answers-differently/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://baresql.com/&#34;&gt;BareSQL&lt;/a&gt; is the studio&amp;rsquo;s thirty-sixth project: one program, &lt;code&gt;baresql&lt;/code&gt;, with two tools in it. BareSQL Audit works out which PostgreSQL login can read which column, and by which route. BareSQL Portable looks for SQL that SQLite, PostgreSQL, MySQL and MariaDB don&amp;rsquo;t agree on. &lt;a href=&#34;https://baresql.com/baresql-launches-with-an-access-audit-for-postgresql-and-a-portability-check-for-sql/&#34;&gt;The launch post&lt;/a&gt; introduces both.&lt;/p&gt;&#xA;&lt;p&gt;The audit follows access through roles at any depth, SET ROLE, ownership, &lt;code&gt;pg_read_all_data&lt;/code&gt;, views and row security. Then it checks its answer for every column against the server&amp;rsquo;s own privilege functions and reports any disagreement. Personal data is recognized from column names and sampled values, and the values never reach the report. With &lt;code&gt;--baseline&lt;/code&gt;, a scheduled job fails on the day any login can reach more than before. &lt;a href=&#34;https://baresql.com/what-an-ai-support-agent-could-read-before-its-database-login-went-live/&#34;&gt;One case study&lt;/a&gt; audits an AI support agent&amp;rsquo;s login before it goes live and finds a view that would show it customers&amp;rsquo; names and email addresses in every tenant.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
