<?xml version="1.0"?>
<odoo>
    <record model="base.external.dbsource" id="demo_postgre">
        <field name="name">PostgreSQL local</field>
        <field name="conn_string">dbname='postgres' password=%s</field>
        <field name="password">postgresql</field>
        <field name="connector">postgresql</field>
    </record>
</odoo>