pg_ivm/pg_ivm--1.2--1.3.sql
Takuma Hoshiai 2d9abee78c Add function of get_immv_def()
This function can reconstruct the underlying SELECT command for a
IMMV. (This is a decompiled reconstruction, not the original text
of the command)
2022-09-30 15:59:32 +09:00

13 lines
271 B
SQL

-- functions
CREATE FUNCTION ivm_visible_in_prestate(oid, tid, oid)
RETURNS bool
STABLE
AS 'MODULE_PATHNAME', 'ivm_visible_in_prestate'
LANGUAGE C;
CREATE FUNCTION get_immv_def(IN immvrelid regclass)
RETURNS text
STRICT
AS 'MODULE_PATHNAME', 'get_immv_def'
LANGUAGE C;