Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>With <strong>PostgreSQL 9.1 or later</strong>, installation of additional modules has been simplified. <a href="https://www.postgresql.org/docs/current/interactive/contrib.html" rel="nofollow noreferrer">Registered extensions (including dblink)</a> can be installed with <a href="https://www.postgresql.org/docs/current/interactive/sql-createextension.html" rel="nofollow noreferrer"><code>CREATE EXTENSION</code></a>:</p> <pre><code>CREATE EXTENSION dblink; </code></pre> <p>Installs into your default schema (<code>public</code> by default). Make sure your <a href="https://stackoverflow.com/questions/9067335/how-to-create-table-inside-specific-schema-by-default-in-postgres/9067777#9067777"><code>search_path</code></a> is set properly before you run the command and the schema is visible to all users who have to work with it.</p> <p>Alternatively, you can install to any schema of your choice with:</p> <pre><code>CREATE EXTENSION dblink SCHEMA extensions; </code></pre> <p>See:</p> <ul> <li><a href="https://stackoverflow.com/questions/19146433/best-way-to-install-hstore-on-multiple-schemas-in-a-postgres-database/19146824#19146824">Best way to install hstore on multiple schemas in a Postgres database?</a></li> </ul> <p>Run once per database. Or run it in the standard system database <code>template1</code> to add it to <em>every</em> newly created DB automatically. <a href="https://www.postgresql.org/docs/current/interactive/sql-createextension.html" rel="nofollow noreferrer">Details in the manual.</a></p> <p>You need to have the files providing the module installed on the server first. For Debian and derivatives this would be the package <a href="https://stackoverflow.com/questions/12100638/error-when-creating-unaccent-extension-on-postgresql/12101055#12101055">postgresql-contrib-9.1</a> - for PostgreSQL 9.1, obviously.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload