snaga / dblink_py

dblink/py - Yet Another Extensible dblink Implementation with PL/Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dblink/py

dblink/py is yet another dblink implementation with PL/Python. It is designed to be simple, small and extensible.

dblink/py is a subset of the dblink contrib module in the core.

Requirements

  • PostgreSQL
  • PL/Python
  • psycopg2

Supported DBMSes

  • PostgreSQL
  • SQLite

Supported Functions

  • dblink_connect()
  • dblink_disconnect()
  • dblink_get_connections()
  • dblink_open()
  • dblink_fetch()
  • dblink_close()
  • dblink()
  • dblink_exec()

For more details, please take a look at those regression tests in sql/dblink_py.sql and sql/dblink_py_sqlite.sql.

Installation

git clone https://github.com/snaga/dblink_py.git
cd dblink_py
env USE_PGXS=1 make install
createdb testdb
psql testdb
create extension plpython2u;
create extension dblink_py;

Author

Satoshi Nagayasu <snaga _at_ uptime _dot_ jp>

EOF

About

dblink/py - Yet Another Extensible dblink Implementation with PL/Python

License:Apache License 2.0


Languages

Language:PLpgSQL 93.1%Language:Makefile 6.9%