mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-22 05:31:41 +08:00
This patch splits the timescaledb_fdw sql file into two parts to separate the idempotent parts from the non-idempotent ones so the function definitions can be included in the regular update script.
15 lines
483 B
SQL
15 lines
483 B
SQL
-- This file and its contents are licensed under the Apache License 2.0.
|
|
-- Please see the included NOTICE for copyright information and
|
|
-- LICENSE-APACHE for a copy of the license.
|
|
|
|
CREATE OR REPLACE FUNCTION timescaledb_fdw_handler()
|
|
RETURNS fdw_handler
|
|
AS '@MODULE_PATHNAME@', 'ts_timescaledb_fdw_handler'
|
|
LANGUAGE C STRICT;
|
|
|
|
CREATE OR REPLACE FUNCTION timescaledb_fdw_validator(text[], oid)
|
|
RETURNS void
|
|
AS '@MODULE_PATHNAME@', 'ts_timescaledb_fdw_validator'
|
|
LANGUAGE C STRICT;
|
|
|