Skip to content

Commit

Permalink
Minor fixes and add few sanity checks for clone function
Browse files Browse the repository at this point in the history
  • Loading branch information
jimjonesbr committed Mar 4, 2024
1 parent 5122a16 commit 2edb6cb
Show file tree
Hide file tree
Showing 3 changed files with 432 additions and 91 deletions.
6 changes: 3 additions & 3 deletions rdf_fdw--1.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ COMMENT ON FUNCTION rdf_fdw_validator(text[], oid) IS 'RDF Triplestore Foreign-d

CREATE FUNCTION rdf_fdw_clone_table(
foreign_table oid,
target_table text,
target_table oid,
begin_offset int DEFAULT 0,
page_size int DEFAULT 0,
fetch_size int DEFAULT 0,
max_records int DEFAULT 0,
ordering_column text DEFAULT '',
create_table boolean DEFAULT false,
verbose boolean DEFAULT false)
RETURNS void AS 'MODULE_PATHNAME', 'rdf_fdw_clone_table'
LANGUAGE C IMMUTABLE STRICT PARALLEL UNSAFE;

COMMENT ON FUNCTION rdf_fdw_clone_table(oid,text,int,int,int,text,boolean,boolean) IS 'materialize rdf_fdw foreign tables into heap tables';
COMMENT ON FUNCTION rdf_fdw_clone_table(oid,oid,int,int,int,text,boolean,boolean) IS 'materialize rdf_fdw foreign tables into heap tables';

CREATE FOREIGN DATA WRAPPER rdf_fdw
HANDLER rdf_fdw_handler
Expand Down
Loading

0 comments on commit 2edb6cb

Please sign in to comment.