<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Postgresql on pretiosusdata</title><link>https://pretiosusdata.com/tags/postgresql/</link><description>Recent content in Postgresql on pretiosusdata</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 29 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://pretiosusdata.com/tags/postgresql/index.xml" rel="self" type="application/rss+xml"/><item><title>Check the database identity behind your AI assistant</title><link>https://pretiosusdata.com/notes/check-the-database-identity-behind-your-ai-assistant/</link><pubDate>Sun, 29 Nov 2026 00:00:00 +0000</pubDate><guid>https://pretiosusdata.com/notes/check-the-database-identity-behind-your-ai-assistant/</guid><description>&lt;p&gt;A regional sales manager asks an AI assistant which customers reduced their orders last month. The assistant generates SQL, runs it against PostgreSQL, and summarizes the result. In this hypothetical application, the manager should see only customers in their region.&lt;/p&gt;&#10;&lt;p&gt;The team has tested row-level security using the manager&amp;rsquo;s database role. The assistant, however, connects through a shared service account that owns the customer table. Its answer includes customers from other regions.&lt;/p&gt;</description></item><item><title>When a vector search misses the runbook</title><link>https://pretiosusdata.com/notes/when-a-vector-search-misses-the-runbook/</link><pubDate>Sun, 22 Nov 2026 00:00:00 +0000</pubDate><guid>https://pretiosusdata.com/notes/when-a-vector-search-misses-the-runbook/</guid><description>&lt;p&gt;Imagine an on-call data engineer asking an AI assistant how to recover a failed invoice load. The assistant searches operational runbooks, retrieves relevant passages, and uses them to explain the recovery procedure. In this hypothetical system, the correct runbook exists, but the assistant says it found insufficient guidance.&lt;/p&gt;&#10;&lt;p&gt;Before changing the prompt, I would inspect the retrieval query. A filter for the production environment can leave an approximate vector search with too few results, even when plenty of production documents exist.&lt;/p&gt;</description></item></channel></rss>