Skip to content

Commit

Permalink
Deployed f8221f8 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
3liz-bot committed Apr 3, 2024
1 parent bead21b commit 7accbad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions fdw/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1065,17 +1065,19 @@ <h2 id="le-fdw-postgres_fdw-pour-acceder-aux-tables-dune-autre-base-de-donnees-p
<span class="normal">21</span>
<span class="normal">22</span>
<span class="normal">23</span>
<span class="normal">24</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="c1">-- Création du serveur externe</span>
<span class="normal">24</span>
<span class="normal">25</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="c1">-- Création du serveur externe</span>
<span class="k">DROP</span><span class="w"> </span><span class="n">SERVER</span><span class="w"> </span><span class="k">IF</span><span class="w"> </span><span class="k">EXISTS</span><span class="w"> </span><span class="n">foreign_server_test</span><span class="w"> </span><span class="k">CASCADE</span><span class="p">;</span>
<span class="k">CREATE</span><span class="w"> </span><span class="n">SERVER</span><span class="w"> </span><span class="k">IF</span><span class="w"> </span><span class="k">NOT</span><span class="w"> </span><span class="k">EXISTS</span><span class="w"> </span><span class="n">foreign_server_test</span>
<span class="k">FOREIGN</span><span class="w"> </span><span class="k">DATA</span><span class="w"> </span><span class="n">WRAPPER</span><span class="w"> </span><span class="n">postgres_fdw</span>
<span class="k">OPTIONS</span><span class="w"> </span><span class="p">(</span><span class="k">host</span><span class="w"> </span><span class="s1">&#39;mon_serveur_postgresql_externe.com&#39;</span><span class="p">,</span><span class="w"> </span><span class="n">port</span><span class="w"> </span><span class="s1">&#39;5432&#39;</span><span class="p">,</span><span class="w"> </span><span class="n">dbname</span><span class="w"> </span><span class="s1">&#39;external_database&#39;</span><span class="p">)</span>
<span class="p">;</span>

<span class="c1">-- on déclare se connecter en tant qu&#39;utilisateur mon_utilisateur externe lorsqu&#39;on récupère des données</span>
<span class="k">CREATE</span><span class="w"> </span><span class="k">USER</span><span class="w"> </span><span class="n">MAPPING</span><span class="w"> </span><span class="k">FOR</span><span class="w"> </span><span class="ss">&quot;&quot;</span>
<span class="c1">-- on déclare se connecter en tant qu&#39;utilisateur `mon_utilisateur_externe` lorsqu&#39;on récupère des données</span>
<span class="c1">-- depuis une connexion avec l&#39;utilisateur interne `mon_utilisateur`</span>
<span class="k">CREATE</span><span class="w"> </span><span class="k">USER</span><span class="w"> </span><span class="n">MAPPING</span><span class="w"> </span><span class="k">FOR</span><span class="w"> </span><span class="ss">&quot;mon_utilisateur&quot;</span>
<span class="n">SERVER</span><span class="w"> </span><span class="n">foreign_server_test</span>
<span class="k">OPTIONS</span><span class="w"> </span><span class="p">(</span><span class="k">user</span><span class="w"> </span><span class="s1">&#39;mon_utilisateur&#39;</span><span class="p">,</span><span class="w"> </span><span class="n">password</span><span class="w"> </span><span class="s1">&#39;***********&#39;</span><span class="p">);</span>
<span class="k">OPTIONS</span><span class="w"> </span><span class="p">(</span><span class="k">user</span><span class="w"> </span><span class="s1">&#39;mon_utilisateur_externe&#39;</span><span class="p">,</span><span class="w"> </span><span class="n">password</span><span class="w"> </span><span class="s1">&#39;***********&#39;</span><span class="p">);</span>

<span class="c1">-- on stocke les tables étrangères dans un schéma spécifique pour isoler des autres schémas en dur</span>
<span class="k">DROP</span><span class="w"> </span><span class="k">SCHEMA</span><span class="w"> </span><span class="k">IF</span><span class="w"> </span><span class="k">EXISTS</span><span class="w"> </span><span class="n">fdw_test_schema</span><span class="w"> </span><span class="k">CASCADE</span><span class="p">;</span>
Expand Down Expand Up @@ -1111,7 +1113,7 @@ <h2 id="le-fdw-postgres_fdw-pour-acceder-aux-tables-dune-autre-base-de-donnees-p
<span class="md-icon" title="Last update">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"/></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">December 18, 2023</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">April 3, 2024</span>
</span>


Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit 7accbad

Please sign in to comment.