Sha256: 84ec3d38b60a466c270a5c492be90dafc8fa8a6ed16fde0f5176699b0750330a
Contents?: true
Size: 944 Bytes
Versions: 1
Compression:
Stored size: 944 Bytes
Contents
/* * Author: <%= maintainer %> * Created at: <%= Time.now %> * */ -- -- This is a example code genereted automaticaly -- by pgxn-utils. CREATE OR REPLACE FUNCTION <%= extension_name %>_fdw_validator (text[], oid) RETURNS bool AS 'MODULE_PATHNAME' LANGUAGE C STRICT; CREATE OR REPLACE FUNCTION <%= extension_name %>_fdw_handler () RETURNS fdw_handler AS 'MODULE_PATHNAME' LANGUAGE C STRICT; CREATE FOREIGN DATA WRAPPER <%= extension_name %>_fdw VALIDATOR <%= extension_name %>_fdw_validator HANDLER <%= extension_name %>_fdw_handler; CREATE SERVER <%= extension_name %>_local_service FOREIGN DATA WRAPPER <%= extension_name %>_fdw OPTIONS ( server_address 'localhost', server_port '389'); -- See more: -- http://www.postgresql.org/docs/current/static/sql-createserver.html -- http://www.postgresql.org/docs/current/static/sql-createusermapping.html -- http://www.postgresql.org/docs/current/static/sql-createforeigndatawrapper.html
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pgxn_utils-0.1.4 | lib/pgxn_utils/templates/fdw/sql/%extension_name%.sql.tt |