mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-09 08:10:09 +08:00
7b6407d93d
Backpatch as discussed in 20140702192641.GD22738@awork2.anarazel.de
ff. as the error messages are user facing and possibly confusing.
Original commit: 6f9e39bc99
15 lines
419 B
SQL
15 lines
419 B
SQL
/* contrib/dblink/dblink--1.0--1.1.sql */
|
|
|
|
-- complain if script is sourced in psql, rather than via ALTER EXTENSION
|
|
\echo Use "ALTER EXTENSION dblink UPDATE TO '1.1'" to load this file. \quit
|
|
|
|
CREATE FUNCTION dblink_fdw_validator(
|
|
options text[],
|
|
catalog oid
|
|
)
|
|
RETURNS void
|
|
AS 'MODULE_PATHNAME', 'dblink_fdw_validator'
|
|
LANGUAGE C STRICT;
|
|
|
|
CREATE FOREIGN DATA WRAPPER dblink_fdw VALIDATOR dblink_fdw_validator;
|