Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: REL-1_0_1
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (26 sloc) 0.753 kb
/*-------------------------------------------------------------------------
*
* foreign-data wrapper for MySQL
*
* Copyright (c) 2011 - 2013, PostgreSQL Global Development Group
*
* This software is released under the PostgreSQL Licence
*
* Author: Dave Page <dpage@pgadmin.org>
*
* IDENTIFICATION
* mysql_fdw/mysql_fdw--1.0.sql
*
*-------------------------------------------------------------------------
*/
CREATE FUNCTION mysql_fdw_handler()
RETURNS fdw_handler
AS 'MODULE_PATHNAME'
LANGUAGE C STRICT;
CREATE FUNCTION mysql_fdw_validator(text[], oid)
RETURNS void
AS 'MODULE_PATHNAME'
LANGUAGE C STRICT;
CREATE FOREIGN DATA WRAPPER mysql_fdw
HANDLER mysql_fdw_handler
VALIDATOR mysql_fdw_validator;
Jump to Line
Something went wrong with that request. Please try again.