PG-555 :Infrastructure to allow multiple SQL APIs (#320)

Creating the infrastructure that'll allow using newer versions
of the loadable module with old SQL declarations.
Also updating the build version to 2.0.0-dev
This commit is contained in:
Muhammad Usama
2022-11-21 18:27:21 +05:00
committed by GitHub
parent 7f015b5a16
commit 2f2c40ed22
3 changed files with 35 additions and 4 deletions

View File

@@ -168,7 +168,7 @@ CREATE FUNCTION pg_stat_monitor_internal(
OUT toplevel BOOLEAN
)
RETURNS SETOF record
AS 'MODULE_PATHNAME', 'pg_stat_monitor'
AS 'MODULE_PATHNAME', 'pg_stat_monitor_2_0'
LANGUAGE C STRICT VOLATILE PARALLEL SAFE;
-- Register a view on the function for ease of use.