PSQL建立外部表
1.创建相关函数 CREATE OR REPLACE FUNCTION “public”.”postgres_fdw_handler”() RETURNS “pg_catalog”.”fdw_handler” AS ‘$libdir/postgres_fdw’, ‘postgres_fdw_handler’ LANGUAGE ‘c’ VOLATILE STRICT COST 1; ALTER FUNCTION “public”.”postgres_fdw_handler”() OWNER TO “postgres”; CREATE OR REPLACE FUNCTION “public”.”p …