PolarDBforPostgreSQL/external/polar_px/polar_px--1.0.sql

13 lines
397 B
SQL

-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION polar_px" to load this file. \quit
CREATE OR REPLACE FUNCTION polar_px_workerid()
RETURNS int4
AS 'MODULE_PATHNAME', 'polar_px_workerid'
LANGUAGE C STRICT;
CREATE OR REPLACE FUNCTION polar_px_workerid_funcid()
RETURNS int4
AS 'MODULE_PATHNAME', 'polar_px_workerid_funcid'
LANGUAGE C STRICT;