<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Postgres on Janik von Rotz</title>
    <link>https://janikvonrotz.ch/tags/postgres/</link>
    <description>Recent content in Postgres on Janik von Rotz</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 09 Mar 2021 14:16:59 +0100</lastBuildDate>
    <atom:link href="https://janikvonrotz.ch/tags/postgres/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Postgres connection URI password fails</title>
      <link>https://janikvonrotz.ch/2021/03/09/postgres-connection-uri-password-fails/</link>
      <pubDate>Tue, 09 Mar 2021 14:16:59 +0100</pubDate>
      <guid>https://janikvonrotz.ch/2021/03/09/postgres-connection-uri-password-fails/</guid>
      <description>&lt;p&gt;With the &lt;code&gt;psql&lt;/code&gt; command line tool you can either pass the connection credentials as parameters or simply as one connection string.&lt;/p&gt;&#xA;&lt;p&gt;The general form for a connection URI is:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;postgresql://\[user\[:password\]@\]\[host\]\[:port\]\[,...\]\[/dbname\]\[?param1=value1&amp;amp;...\]&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;While developing an Odoo module I could no longer execute queries using connections URIs. I always got the error &lt;code&gt;psql: error: FATAL:  password authentication failed for user &amp;quot;odoo&amp;quot;&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
