Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions pg_lake_table/pg_lake_table--3.5--3.6.sql
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,15 @@ AS 'MODULE_PATHNAME', 'pg_lake_catalog_export_worker'
LANGUAGE C STRICT;

SELECT extension_base.register_worker('pg_lake catalog export worker', 'lake_iceberg.catalog_export');

CREATE FUNCTION lake_iceberg.relocate_table(
table_name regclass,
new_location text
)
RETURNS text
LANGUAGE C
STRICT
AS 'MODULE_PATHNAME', 'iceberg_relocate_table';

REVOKE ALL ON FUNCTION lake_iceberg.relocate_table(regclass, text) FROM public;
GRANT EXECUTE ON FUNCTION lake_iceberg.relocate_table(regclass, text) TO lake_read_write;
Loading
Loading