https://github.com/pgsql-io/multicorn2/
multicorn2 is a Python3 Wrapper for Postgresql Foreign Data Wrapper. The Multicorn Foreign Data Wrapper allows you to fetch foreign data in Python in your PostgreSQL server.
The Multicorn Foreign Data Wrapper allows you to fetch foreign data in Python in your PostgreSQL server.
Multicorn2 is distributed under the PostgreSQL license. See the LICENSE file for details.The Multicorn Foreign Data Wrapper allows you to write foreign data wrappers in Python.
The PostgreSQL RPM repository uses PostgreSQL version numbers in the RPM packages. For example multicorn2 for PostgreSQL 17 is named as multicorn2_17. Similarly multicorn2 for PostgreSQL 15 is named as multicorn2_15.
multicorn2 provides the following subpackages:
Install PGDG repository from: https://yum.postgresql.org/repopackages/
OS | Command |
---|---|
RHEL / Rocky Linux / AlmaLinux / Fedora | dnf install multicorn2_17 (or change the version as described above) |
Connect to the database that you want to create the extension as superuser and run:
CREATE EXTENSION multicorn;
PostgreSQL version(s) | OS version | Arch | Status |
---|---|---|---|
17,16,15,14,13 | RHEL / Rocky Linux / AlmaLinux 9 | x86_64, aarch64 | Available |
17,16,15,14,13 | RHEL / Rocky Linux / AlmaLinux 8 | x86_64, aarch64 | Available |
17,16,15,14,13 | Fedora Linux | x86_64 | Available |