Commit 629b3af2 authored by Tom Lane's avatar Tom Lane

Convert contrib modules to use the extension facility.

This isn't fully tested as yet, in particular I'm not sure that the
"foo--unpackaged--1.0.sql" scripts are OK.  But it's time to get some
buildfarm cycles on it.

sepgsql is not converted to an extension, mainly because it seems to
require a very nonstandard installation process.

Dimitri Fontaine and Tom Lane
parent e693e97d
# contrib/adminpack/Makefile # contrib/adminpack/Makefile
MODULE_big = adminpack MODULE_big = adminpack
PG_CPPFLAGS = -I$(libpq_srcdir)
DATA_built = adminpack.sql
DATA = uninstall_adminpack.sql
OBJS = adminpack.o OBJS = adminpack.o
PG_CPPFLAGS = -I$(libpq_srcdir)
EXTENSION = adminpack
DATA = adminpack--1.0.sql adminpack--unpackaged--1.0.sql
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
/* contrib/adminpack/adminpack.sql.in */ /* contrib/adminpack/adminpack--1.0.sql */
/* *********************************************** /* ***********************************************
* Administrative functions for PostgreSQL * Administrative functions for PostgreSQL
......
/* contrib/adminpack/adminpack--unpackaged--1.0.sql */
ALTER EXTENSION adminpack ADD function pg_catalog.pg_file_write(text,text,boolean);
ALTER EXTENSION adminpack ADD function pg_catalog.pg_file_rename(text,text,text);
ALTER EXTENSION adminpack ADD function pg_catalog.pg_file_rename(text,text);
ALTER EXTENSION adminpack ADD function pg_catalog.pg_file_unlink(text);
ALTER EXTENSION adminpack ADD function pg_catalog.pg_logdir_ls();
ALTER EXTENSION adminpack ADD function pg_catalog.pg_file_read(text,bigint,bigint);
ALTER EXTENSION adminpack ADD function pg_catalog.pg_file_length(text);
ALTER EXTENSION adminpack ADD function pg_catalog.pg_logfile_rotate();
# adminpack extension
comment = 'administrative functions for PostgreSQL'
default_version = '1.0'
module_pathname = '$libdir/adminpack'
relocatable = false
schema = pg_catalog
/* contrib/adminpack/uninstall_adminpack.sql */
DROP FUNCTION pg_catalog.pg_file_write(text, text, bool) ;
DROP FUNCTION pg_catalog.pg_file_rename(text, text, text) ;
DROP FUNCTION pg_catalog.pg_file_rename(text, text) ;
DROP FUNCTION pg_catalog.pg_file_unlink(text) ;
DROP FUNCTION pg_catalog.pg_logdir_ls() ;
DROP FUNCTION pg_catalog.pg_file_read(text, bigint, bigint) ;
DROP FUNCTION pg_catalog.pg_file_length(text) ;
DROP FUNCTION pg_catalog.pg_logfile_rotate() ;
/btree_gin.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
MODULE_big = btree_gin MODULE_big = btree_gin
OBJS = btree_gin.o OBJS = btree_gin.o
DATA_built = btree_gin.sql EXTENSION = btree_gin
DATA = uninstall_btree_gin.sql DATA = btree_gin--1.0.sql btree_gin--unpackaged--1.0.sql
REGRESS = install_btree_gin int2 int4 int8 float4 float8 money oid \ REGRESS = install_btree_gin int2 int4 int8 float4 float8 money oid \
timestamp timestamptz time timetz date interval \ timestamp timestamptz time timetz date interval \
macaddr inet cidr text varchar char bytea bit varbit \ macaddr inet cidr text varchar char bytea bit varbit \
......
/* contrib/btree_gin/btree_gin.sql.in */ /* contrib/btree_gin/btree_gin--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION gin_btree_consistent(internal, int2, anyelement, int4, internal, internal) CREATE OR REPLACE FUNCTION gin_btree_consistent(internal, int2, anyelement, int4, internal, internal)
RETURNS bool RETURNS bool
......
/* contrib/btree_gin/btree_gin--unpackaged--1.0.sql */
ALTER EXTENSION btree_gin ADD function gin_btree_consistent(internal,smallint,anyelement,integer,internal,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_value_int2(smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_int2(smallint,smallint,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_int2(smallint,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family int2_ops using gin;
ALTER EXTENSION btree_gin ADD operator class int2_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_int4(integer,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_int4(integer,integer,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_int4(integer,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family int4_ops using gin;
ALTER EXTENSION btree_gin ADD operator class int4_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_int8(bigint,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_int8(bigint,bigint,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_int8(bigint,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family int8_ops using gin;
ALTER EXTENSION btree_gin ADD operator class int8_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_float4(real,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_float4(real,real,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_float4(real,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family float4_ops using gin;
ALTER EXTENSION btree_gin ADD operator class float4_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_float8(double precision,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_float8(double precision,double precision,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_float8(double precision,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family float8_ops using gin;
ALTER EXTENSION btree_gin ADD operator class float8_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_money(money,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_money(money,money,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_money(money,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family money_ops using gin;
ALTER EXTENSION btree_gin ADD operator class money_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_oid(oid,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_oid(oid,oid,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_oid(oid,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family oid_ops using gin;
ALTER EXTENSION btree_gin ADD operator class oid_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_timestamp(timestamp without time zone,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_timestamp(timestamp without time zone,timestamp without time zone,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_timestamp(timestamp without time zone,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family timestamp_ops using gin;
ALTER EXTENSION btree_gin ADD operator class timestamp_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_timestamptz(timestamp with time zone,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_timestamptz(timestamp with time zone,timestamp with time zone,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_timestamptz(timestamp with time zone,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family timestamptz_ops using gin;
ALTER EXTENSION btree_gin ADD operator class timestamptz_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_time(time without time zone,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_time(time without time zone,time without time zone,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_time(time without time zone,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family time_ops using gin;
ALTER EXTENSION btree_gin ADD operator class time_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_timetz(time with time zone,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_timetz(time with time zone,time with time zone,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_timetz(time with time zone,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family timetz_ops using gin;
ALTER EXTENSION btree_gin ADD operator class timetz_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_date(date,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_date(date,date,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_date(date,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family date_ops using gin;
ALTER EXTENSION btree_gin ADD operator class date_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_interval(interval,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_interval(interval,interval,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_interval(interval,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family interval_ops using gin;
ALTER EXTENSION btree_gin ADD operator class interval_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_macaddr(macaddr,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_macaddr(macaddr,macaddr,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_macaddr(macaddr,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family macaddr_ops using gin;
ALTER EXTENSION btree_gin ADD operator class macaddr_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_inet(inet,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_inet(inet,inet,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_inet(inet,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family inet_ops using gin;
ALTER EXTENSION btree_gin ADD operator class inet_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_cidr(cidr,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_cidr(cidr,cidr,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_cidr(cidr,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family cidr_ops using gin;
ALTER EXTENSION btree_gin ADD operator class cidr_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_text(text,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_text(text,text,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_text(text,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family text_ops using gin;
ALTER EXTENSION btree_gin ADD operator class text_ops using gin;
ALTER EXTENSION btree_gin ADD operator family varchar_ops using gin;
ALTER EXTENSION btree_gin ADD operator class varchar_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_char("char",internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_char("char","char",smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_char("char",internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family char_ops using gin;
ALTER EXTENSION btree_gin ADD operator class char_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_bytea(bytea,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_bytea(bytea,bytea,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_bytea(bytea,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family bytea_ops using gin;
ALTER EXTENSION btree_gin ADD operator class bytea_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_bit(bit,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_bit(bit,bit,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_bit(bit,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family bit_ops using gin;
ALTER EXTENSION btree_gin ADD operator class bit_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_varbit(bit varying,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_varbit(bit varying,bit varying,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_varbit(bit varying,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD operator family varbit_ops using gin;
ALTER EXTENSION btree_gin ADD operator class varbit_ops using gin;
ALTER EXTENSION btree_gin ADD function gin_extract_value_numeric(numeric,internal);
ALTER EXTENSION btree_gin ADD function gin_compare_prefix_numeric(numeric,numeric,smallint,internal);
ALTER EXTENSION btree_gin ADD function gin_extract_query_numeric(numeric,internal,smallint,internal,internal);
ALTER EXTENSION btree_gin ADD function gin_numeric_cmp(numeric,numeric);
ALTER EXTENSION btree_gin ADD operator family numeric_ops using gin;
ALTER EXTENSION btree_gin ADD operator class numeric_ops using gin;
# btree_gin extension
comment = 'support for indexing common datatypes in GIN'
default_version = '1.0'
module_pathname = '$libdir/btree_gin'
relocatable = true
SET client_min_messages = warning; CREATE EXTENSION btree_gin;
\set ECHO none
RESET client_min_messages;
SET client_min_messages = warning; CREATE EXTENSION btree_gin;
\set ECHO none
\i btree_gin.sql
\set ECHO all
RESET client_min_messages;
/* contrib/btree_gin/uninstall_btree_gin.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP OPERATOR FAMILY int2_ops USING gin CASCADE;
DROP OPERATOR FAMILY int4_ops USING gin CASCADE;
DROP OPERATOR FAMILY int8_ops USING gin CASCADE;
DROP OPERATOR FAMILY float4_ops USING gin CASCADE;
DROP OPERATOR FAMILY float8_ops USING gin CASCADE;
DROP OPERATOR FAMILY money_ops USING gin CASCADE;
DROP OPERATOR FAMILY oid_ops USING gin CASCADE;
DROP OPERATOR FAMILY timestamp_ops USING gin CASCADE;
DROP OPERATOR FAMILY timestamptz_ops USING gin CASCADE;
DROP OPERATOR FAMILY time_ops USING gin CASCADE;
DROP OPERATOR FAMILY timetz_ops USING gin CASCADE;
DROP OPERATOR FAMILY date_ops USING gin CASCADE;
DROP OPERATOR FAMILY interval_ops USING gin CASCADE;
DROP OPERATOR FAMILY macaddr_ops USING gin CASCADE;
DROP OPERATOR FAMILY inet_ops USING gin CASCADE;
DROP OPERATOR FAMILY cidr_ops USING gin CASCADE;
DROP OPERATOR FAMILY text_ops USING gin CASCADE;
DROP OPERATOR FAMILY varchar_ops USING gin CASCADE;
DROP OPERATOR FAMILY char_ops USING gin CASCADE;
DROP OPERATOR FAMILY bytea_ops USING gin CASCADE;
DROP OPERATOR FAMILY bit_ops USING gin CASCADE;
DROP OPERATOR FAMILY varbit_ops USING gin CASCADE;
DROP OPERATOR FAMILY numeric_ops USING gin CASCADE;
DROP FUNCTION gin_btree_consistent(internal, int2, anyelement, int4, internal, internal);
DROP FUNCTION gin_extract_value_int2(int2, internal);
DROP FUNCTION gin_compare_prefix_int2(int2, int2, int2, internal);
DROP FUNCTION gin_extract_query_int2(int2, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_int4(int4, internal);
DROP FUNCTION gin_compare_prefix_int4(int4, int4, int2, internal);
DROP FUNCTION gin_extract_query_int4(int4, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_int8(int8, internal);
DROP FUNCTION gin_compare_prefix_int8(int8, int8, int2, internal);
DROP FUNCTION gin_extract_query_int8(int8, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_float4(float4, internal);
DROP FUNCTION gin_compare_prefix_float4(float4, float4, int2, internal);
DROP FUNCTION gin_extract_query_float4(float4, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_float8(float8, internal);
DROP FUNCTION gin_compare_prefix_float8(float8, float8, int2, internal);
DROP FUNCTION gin_extract_query_float8(float8, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_money(money, internal);
DROP FUNCTION gin_compare_prefix_money(money, money, int2, internal);
DROP FUNCTION gin_extract_query_money(money, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_oid(oid, internal);
DROP FUNCTION gin_compare_prefix_oid(oid, oid, int2, internal);
DROP FUNCTION gin_extract_query_oid(oid, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_timestamp(timestamp, internal);
DROP FUNCTION gin_compare_prefix_timestamp(timestamp, timestamp, int2, internal);
DROP FUNCTION gin_extract_query_timestamp(timestamp, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_timestamptz(timestamptz, internal);
DROP FUNCTION gin_compare_prefix_timestamptz(timestamptz, timestamptz, int2, internal);
DROP FUNCTION gin_extract_query_timestamptz(timestamptz, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_time(time, internal);
DROP FUNCTION gin_compare_prefix_time(time, time, int2, internal);
DROP FUNCTION gin_extract_query_time(time, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_timetz(timetz, internal);
DROP FUNCTION gin_compare_prefix_timetz(timetz, timetz, int2, internal);
DROP FUNCTION gin_extract_query_timetz(timetz, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_date(date, internal);
DROP FUNCTION gin_compare_prefix_date(date, date, int2, internal);
DROP FUNCTION gin_extract_query_date(date, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_interval(interval, internal);
DROP FUNCTION gin_compare_prefix_interval(interval, interval, int2, internal);
DROP FUNCTION gin_extract_query_interval(interval, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_macaddr(macaddr, internal);
DROP FUNCTION gin_compare_prefix_macaddr(macaddr, macaddr, int2, internal);
DROP FUNCTION gin_extract_query_macaddr(macaddr, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_inet(inet, internal);
DROP FUNCTION gin_compare_prefix_inet(inet, inet, int2, internal);
DROP FUNCTION gin_extract_query_inet(inet, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_cidr(cidr, internal);
DROP FUNCTION gin_compare_prefix_cidr(cidr, cidr, int2, internal);
DROP FUNCTION gin_extract_query_cidr(cidr, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_text(text, internal);
DROP FUNCTION gin_compare_prefix_text(text, text, int2, internal);
DROP FUNCTION gin_extract_query_text(text, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_char("char", internal);
DROP FUNCTION gin_compare_prefix_char("char", "char", int2, internal);
DROP FUNCTION gin_extract_query_char("char", internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_bytea(bytea, internal);
DROP FUNCTION gin_compare_prefix_bytea(bytea, bytea, int2, internal);
DROP FUNCTION gin_extract_query_bytea(bytea, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_bit(bit, internal);
DROP FUNCTION gin_compare_prefix_bit(bit, bit, int2, internal);
DROP FUNCTION gin_extract_query_bit(bit, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_varbit(varbit, internal);
DROP FUNCTION gin_compare_prefix_varbit(varbit, varbit, int2, internal);
DROP FUNCTION gin_extract_query_varbit(varbit, internal, int2, internal, internal);
DROP FUNCTION gin_extract_value_numeric(numeric, internal);
DROP FUNCTION gin_compare_prefix_numeric(numeric, numeric, int2, internal);
DROP FUNCTION gin_extract_query_numeric(numeric, internal, int2, internal, internal);
DROP FUNCTION gin_numeric_cmp(numeric, numeric);
/btree_gist.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
...@@ -7,8 +7,8 @@ OBJS = btree_gist.o btree_utils_num.o btree_utils_var.o btree_int2.o btre ...@@ -7,8 +7,8 @@ OBJS = btree_gist.o btree_utils_num.o btree_utils_var.o btree_int2.o btre
btree_date.o btree_interval.o btree_macaddr.o btree_inet.o btree_text.o \ btree_date.o btree_interval.o btree_macaddr.o btree_inet.o btree_text.o \
btree_bytea.o btree_bit.o btree_numeric.o btree_bytea.o btree_bit.o btree_numeric.o
DATA_built = btree_gist.sql EXTENSION = btree_gist
DATA = uninstall_btree_gist.sql DATA = btree_gist--1.0.sql btree_gist--unpackaged--1.0.sql
REGRESS = init int2 int4 int8 float4 float8 cash oid timestamp timestamptz time timetz \ REGRESS = init int2 int4 int8 float4 float8 cash oid timestamp timestamptz time timetz \
date interval macaddr inet cidr text varchar char bytea bit varbit numeric not_equal date interval macaddr inet cidr text varchar char bytea bit varbit numeric not_equal
......
/* contrib/btree_gist/btree_gist.sql.in */ /* contrib/btree_gist/btree_gist--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION gbtreekey4_in(cstring) CREATE OR REPLACE FUNCTION gbtreekey4_in(cstring)
RETURNS gbtreekey4 RETURNS gbtreekey4
......
/* contrib/btree_gist/btree_gist--unpackaged--1.0.sql */
ALTER EXTENSION btree_gist ADD type gbtreekey4;
ALTER EXTENSION btree_gist ADD function gbtreekey4_in(cstring);
ALTER EXTENSION btree_gist ADD function gbtreekey4_out(gbtreekey4);
ALTER EXTENSION btree_gist ADD type gbtreekey8;
ALTER EXTENSION btree_gist ADD function gbtreekey8_in(cstring);
ALTER EXTENSION btree_gist ADD function gbtreekey8_out(gbtreekey8);
ALTER EXTENSION btree_gist ADD type gbtreekey16;
ALTER EXTENSION btree_gist ADD function gbtreekey16_in(cstring);
ALTER EXTENSION btree_gist ADD function gbtreekey16_out(gbtreekey16);
ALTER EXTENSION btree_gist ADD type gbtreekey32;
ALTER EXTENSION btree_gist ADD function gbtreekey32_in(cstring);
ALTER EXTENSION btree_gist ADD function gbtreekey32_out(gbtreekey32);
ALTER EXTENSION btree_gist ADD type gbtreekey_var;
ALTER EXTENSION btree_gist ADD function gbtreekey_var_in(cstring);
ALTER EXTENSION btree_gist ADD function gbtreekey_var_out(gbtreekey_var);
ALTER EXTENSION btree_gist ADD function gbt_oid_consistent(internal,oid,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_oid_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_decompress(internal);
ALTER EXTENSION btree_gist ADD function gbt_var_decompress(internal);
ALTER EXTENSION btree_gist ADD function gbt_oid_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_oid_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_oid_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_oid_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_oid_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_oid_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_int2_consistent(internal,smallint,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_int2_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_int2_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_int2_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_int2_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_int2_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_int2_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_int2_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_int4_consistent(internal,integer,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_int4_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_int4_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_int4_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_int4_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_int4_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_int4_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_int4_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_int8_consistent(internal,bigint,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_int8_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_int8_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_int8_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_int8_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_int8_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_int8_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_int8_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_float4_consistent(internal,real,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_float4_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_float4_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_float4_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_float4_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_float4_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_float4_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_float4_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_float8_consistent(internal,double precision,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_float8_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_float8_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_float8_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_float8_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_float8_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_float8_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_float8_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_ts_consistent(internal,timestamp without time zone,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_tstz_consistent(internal,timestamp with time zone,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_ts_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_tstz_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_ts_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_ts_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_ts_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_ts_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_timestamp_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_timestamp_ops using gist;
ALTER EXTENSION btree_gist ADD operator family gist_timestamptz_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_timestamptz_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_time_consistent(internal,time without time zone,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_timetz_consistent(internal,time with time zone,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_time_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_timetz_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_time_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_time_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_time_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_time_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_time_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_time_ops using gist;
ALTER EXTENSION btree_gist ADD operator family gist_timetz_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_timetz_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_date_consistent(internal,date,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_date_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_date_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_date_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_date_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_date_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_date_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_date_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_intv_consistent(internal,interval,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_intv_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_intv_decompress(internal);
ALTER EXTENSION btree_gist ADD function gbt_intv_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_intv_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_intv_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_intv_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_interval_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_interval_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_cash_consistent(internal,money,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_cash_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_cash_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_cash_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_cash_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_cash_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_cash_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_cash_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_macad_consistent(internal,macaddr,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_macad_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_macad_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_macad_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_macad_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_macad_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_macaddr_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_macaddr_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_text_consistent(internal,text,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_bpchar_consistent(internal,character,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_text_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_bpchar_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_text_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_text_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_text_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_text_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_text_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_text_ops using gist;
ALTER EXTENSION btree_gist ADD operator family gist_bpchar_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_bpchar_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_bytea_consistent(internal,bytea,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_bytea_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_bytea_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_bytea_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_bytea_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_bytea_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_bytea_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_bytea_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_numeric_consistent(internal,numeric,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_numeric_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_numeric_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_numeric_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_numeric_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_numeric_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_numeric_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_numeric_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_bit_consistent(internal,bit,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_bit_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_bit_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_bit_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_bit_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_bit_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_bit_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_bit_ops using gist;
ALTER EXTENSION btree_gist ADD operator family gist_vbit_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_vbit_ops using gist;
ALTER EXTENSION btree_gist ADD function gbt_inet_consistent(internal,inet,smallint,oid,internal);
ALTER EXTENSION btree_gist ADD function gbt_inet_compress(internal);
ALTER EXTENSION btree_gist ADD function gbt_inet_penalty(internal,internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_inet_picksplit(internal,internal);
ALTER EXTENSION btree_gist ADD function gbt_inet_union(bytea,internal);
ALTER EXTENSION btree_gist ADD function gbt_inet_same(internal,internal,internal);
ALTER EXTENSION btree_gist ADD operator family gist_inet_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_inet_ops using gist;
ALTER EXTENSION btree_gist ADD operator family gist_cidr_ops using gist;
ALTER EXTENSION btree_gist ADD operator class gist_cidr_ops using gist;
# btree_gist extension
comment = 'support for indexing common datatypes in GiST'
default_version = '1.0'
module_pathname = '$libdir/btree_gist'
relocatable = true
-- CREATE EXTENSION btree_gist;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of btree_gist.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
-- CREATE EXTENSION btree_gist;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of btree_gist.sql.
--
SET client_min_messages = warning;
\set ECHO none
\i btree_gist.sql
\set ECHO all
RESET client_min_messages;
/* contrib/btree_gist/uninstall_btree_gist.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP OPERATOR CLASS gist_cidr_ops USING gist;
DROP OPERATOR CLASS gist_inet_ops USING gist;
DROP FUNCTION gbt_inet_same(internal, internal, internal);
DROP FUNCTION gbt_inet_union(bytea, internal);
DROP FUNCTION gbt_inet_picksplit(internal, internal);
DROP FUNCTION gbt_inet_penalty(internal,internal,internal);
DROP FUNCTION gbt_inet_compress(internal);
DROP FUNCTION gbt_inet_consistent(internal,inet,int2,oid,internal);
DROP OPERATOR CLASS gist_vbit_ops USING gist;
DROP OPERATOR CLASS gist_bit_ops USING gist;
DROP FUNCTION gbt_bit_same(internal, internal, internal);
DROP FUNCTION gbt_bit_union(bytea, internal);
DROP FUNCTION gbt_bit_picksplit(internal, internal);
DROP FUNCTION gbt_bit_penalty(internal,internal,internal);
DROP FUNCTION gbt_bit_compress(internal);
DROP FUNCTION gbt_bit_consistent(internal,bit,int2,oid,internal);
DROP OPERATOR CLASS gist_numeric_ops USING gist;
DROP FUNCTION gbt_numeric_same(internal, internal, internal);
DROP FUNCTION gbt_numeric_union(bytea, internal);
DROP FUNCTION gbt_numeric_picksplit(internal, internal);
DROP FUNCTION gbt_numeric_penalty(internal,internal,internal);
DROP FUNCTION gbt_numeric_compress(internal);
DROP FUNCTION gbt_numeric_consistent(internal,numeric,int2,oid,internal);
DROP OPERATOR CLASS gist_bytea_ops USING gist;
DROP FUNCTION gbt_bytea_same(internal, internal, internal);
DROP FUNCTION gbt_bytea_union(bytea, internal);
DROP FUNCTION gbt_bytea_picksplit(internal, internal);
DROP FUNCTION gbt_bytea_penalty(internal,internal,internal);
DROP FUNCTION gbt_bytea_compress(internal);
DROP FUNCTION gbt_bytea_consistent(internal,bytea,int2,oid,internal);
DROP OPERATOR CLASS gist_bpchar_ops USING gist;
DROP OPERATOR CLASS gist_text_ops USING gist;
DROP FUNCTION gbt_text_same(internal, internal, internal);
DROP FUNCTION gbt_text_union(bytea, internal);
DROP FUNCTION gbt_text_picksplit(internal, internal);
DROP FUNCTION gbt_text_penalty(internal,internal,internal);
DROP FUNCTION gbt_bpchar_compress(internal);
DROP FUNCTION gbt_text_compress(internal);
DROP FUNCTION gbt_bpchar_consistent(internal,bpchar,int2,oid,internal);
DROP FUNCTION gbt_text_consistent(internal,text,int2,oid,internal);
DROP OPERATOR CLASS gist_macaddr_ops USING gist;
DROP FUNCTION gbt_macad_same(internal, internal, internal);
DROP FUNCTION gbt_macad_union(bytea, internal);
DROP FUNCTION gbt_macad_picksplit(internal, internal);
DROP FUNCTION gbt_macad_penalty(internal,internal,internal);
DROP FUNCTION gbt_macad_compress(internal);
DROP FUNCTION gbt_macad_consistent(internal,macaddr,int2,oid,internal);
DROP OPERATOR CLASS gist_cash_ops USING gist;
DROP FUNCTION gbt_cash_same(internal, internal, internal);
DROP FUNCTION gbt_cash_union(bytea, internal);
DROP FUNCTION gbt_cash_picksplit(internal, internal);
DROP FUNCTION gbt_cash_penalty(internal,internal,internal);
DROP FUNCTION gbt_cash_compress(internal);
DROP FUNCTION gbt_cash_consistent(internal,money,int2,oid,internal);
DROP OPERATOR CLASS gist_interval_ops USING gist;
DROP FUNCTION gbt_intv_same(internal, internal, internal);
DROP FUNCTION gbt_intv_union(bytea, internal);
DROP FUNCTION gbt_intv_picksplit(internal, internal);
DROP FUNCTION gbt_intv_penalty(internal,internal,internal);
DROP FUNCTION gbt_intv_decompress(internal);
DROP FUNCTION gbt_intv_compress(internal);
DROP FUNCTION gbt_intv_consistent(internal,interval,int2,oid,internal);
DROP OPERATOR CLASS gist_date_ops USING gist;
DROP FUNCTION gbt_date_same(internal, internal, internal);
DROP FUNCTION gbt_date_union(bytea, internal);
DROP FUNCTION gbt_date_picksplit(internal, internal);
DROP FUNCTION gbt_date_penalty(internal,internal,internal);
DROP FUNCTION gbt_date_compress(internal);
DROP FUNCTION gbt_date_consistent(internal,date,int2,oid,internal);
DROP OPERATOR CLASS gist_timetz_ops USING gist;
DROP OPERATOR CLASS gist_time_ops USING gist;
DROP FUNCTION gbt_time_same(internal, internal, internal);
DROP FUNCTION gbt_time_union(bytea, internal);
DROP FUNCTION gbt_time_picksplit(internal, internal);
DROP FUNCTION gbt_time_penalty(internal,internal,internal);
DROP FUNCTION gbt_timetz_compress(internal);
DROP FUNCTION gbt_time_compress(internal);
DROP FUNCTION gbt_timetz_consistent(internal,timetz,int2,oid,internal);
DROP FUNCTION gbt_time_consistent(internal,time,int2,oid,internal);
DROP OPERATOR CLASS gist_timestamptz_ops USING gist;
DROP OPERATOR CLASS gist_timestamp_ops USING gist;
DROP FUNCTION gbt_ts_same(internal, internal, internal);
DROP FUNCTION gbt_ts_union(bytea, internal);
DROP FUNCTION gbt_ts_picksplit(internal, internal);
DROP FUNCTION gbt_ts_penalty(internal,internal,internal);
DROP FUNCTION gbt_tstz_compress(internal);
DROP FUNCTION gbt_ts_compress(internal);
DROP FUNCTION gbt_tstz_consistent(internal,timestamptz,int2,oid,internal);
DROP FUNCTION gbt_ts_consistent(internal,timestamp,int2,oid,internal);
DROP OPERATOR CLASS gist_float8_ops USING gist;
DROP FUNCTION gbt_float8_same(internal, internal, internal);
DROP FUNCTION gbt_float8_union(bytea, internal);
DROP FUNCTION gbt_float8_picksplit(internal, internal);
DROP FUNCTION gbt_float8_penalty(internal,internal,internal);
DROP FUNCTION gbt_float8_compress(internal);
DROP FUNCTION gbt_float8_consistent(internal,float8,int2,oid,internal);
DROP OPERATOR CLASS gist_float4_ops USING gist;
DROP FUNCTION gbt_float4_same(internal, internal, internal);
DROP FUNCTION gbt_float4_union(bytea, internal);
DROP FUNCTION gbt_float4_picksplit(internal, internal);
DROP FUNCTION gbt_float4_penalty(internal,internal,internal);
DROP FUNCTION gbt_float4_compress(internal);
DROP FUNCTION gbt_float4_consistent(internal,float4,int2,oid,internal);
DROP OPERATOR CLASS gist_int8_ops USING gist;
DROP FUNCTION gbt_int8_same(internal, internal, internal);
DROP FUNCTION gbt_int8_union(bytea, internal);
DROP FUNCTION gbt_int8_picksplit(internal, internal);
DROP FUNCTION gbt_int8_penalty(internal,internal,internal);
DROP FUNCTION gbt_int8_compress(internal);
DROP FUNCTION gbt_int8_consistent(internal,int8,int2,oid,internal);
DROP OPERATOR CLASS gist_int4_ops USING gist;
DROP FUNCTION gbt_int4_same(internal, internal, internal);
DROP FUNCTION gbt_int4_union(bytea, internal);
DROP FUNCTION gbt_int4_picksplit(internal, internal);
DROP FUNCTION gbt_int4_penalty(internal,internal,internal);
DROP FUNCTION gbt_int4_compress(internal);
DROP FUNCTION gbt_int4_consistent(internal,int4,int2,oid,internal);
DROP OPERATOR CLASS gist_int2_ops USING gist;
DROP FUNCTION gbt_int2_same(internal, internal, internal);
DROP FUNCTION gbt_int2_union(bytea, internal);
DROP FUNCTION gbt_int2_picksplit(internal, internal);
DROP FUNCTION gbt_int2_penalty(internal,internal,internal);
DROP FUNCTION gbt_int2_compress(internal);
DROP FUNCTION gbt_int2_consistent(internal,int2,int2,oid,internal);
DROP OPERATOR CLASS gist_oid_ops USING gist;
DROP FUNCTION gbt_oid_same(internal, internal, internal);
DROP FUNCTION gbt_oid_union(bytea, internal);
DROP FUNCTION gbt_oid_picksplit(internal, internal);
DROP FUNCTION gbt_oid_penalty(internal,internal,internal);
DROP FUNCTION gbt_var_decompress(internal);
DROP FUNCTION gbt_decompress(internal);
DROP FUNCTION gbt_oid_compress(internal);
DROP FUNCTION gbt_oid_consistent(internal,oid,int2,oid,internal);
DROP TYPE gbtreekey_var CASCADE;
DROP TYPE gbtreekey32 CASCADE;
DROP TYPE gbtreekey16 CASCADE;
DROP TYPE gbtreekey8 CASCADE;
DROP TYPE gbtreekey4 CASCADE;
...@@ -2,9 +2,11 @@ ...@@ -2,9 +2,11 @@
MODULE_big = chkpass MODULE_big = chkpass
OBJS = chkpass.o OBJS = chkpass.o
EXTENSION = chkpass
DATA = chkpass--1.0.sql chkpass--unpackaged--1.0.sql
SHLIB_LINK = $(filter -lcrypt, $(LIBS)) SHLIB_LINK = $(filter -lcrypt, $(LIBS))
DATA_built = chkpass.sql
DATA = uninstall_chkpass.sql
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
/* contrib/chkpass/chkpass.sql.in */ /* contrib/chkpass/chkpass--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- --
-- Input and output functions and the type itself: -- Input and output functions and the type itself:
......
/* contrib/chkpass/chkpass--unpackaged--1.0.sql */
ALTER EXTENSION chkpass ADD type chkpass;
ALTER EXTENSION chkpass ADD function chkpass_in(cstring);
ALTER EXTENSION chkpass ADD function chkpass_out(chkpass);
ALTER EXTENSION chkpass ADD function raw(chkpass);
ALTER EXTENSION chkpass ADD function eq(chkpass,text);
ALTER EXTENSION chkpass ADD function ne(chkpass,text);
ALTER EXTENSION chkpass ADD operator <>(chkpass,text);
ALTER EXTENSION chkpass ADD operator =(chkpass,text);
# chkpass extension
comment = 'data type for auto-encrypted passwords'
default_version = '1.0'
module_pathname = '$libdir/chkpass'
relocatable = true
/* contrib/chkpass/uninstall_chkpass.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP OPERATOR <>(chkpass, text);
DROP OPERATOR =(chkpass, text);
DROP FUNCTION ne(chkpass, text);
DROP FUNCTION eq(chkpass, text);
DROP FUNCTION raw(chkpass);
DROP TYPE chkpass CASCADE;
/citext.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
# contrib/citext/Makefile # contrib/citext/Makefile
MODULES = citext MODULES = citext
DATA_built = citext.sql
DATA = uninstall_citext.sql EXTENSION = citext
DATA = citext--1.0.sql citext--unpackaged--1.0.sql
REGRESS = citext REGRESS = citext
ifdef USE_PGXS ifdef USE_PGXS
......
/* contrib/citext/citext.sql.in */ /* contrib/citext/citext--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- --
-- PostgreSQL code for CITEXT. -- PostgreSQL code for CITEXT.
......
/* contrib/citext/citext--unpackaged--1.0.sql */
ALTER EXTENSION citext ADD type citext;
ALTER EXTENSION citext ADD function citextin(cstring);
ALTER EXTENSION citext ADD function citextout(citext);
ALTER EXTENSION citext ADD function citextrecv(internal);
ALTER EXTENSION citext ADD function citextsend(citext);
ALTER EXTENSION citext ADD function citext(character);
ALTER EXTENSION citext ADD function citext(boolean);
ALTER EXTENSION citext ADD function citext(inet);
ALTER EXTENSION citext ADD cast (citext as text);
ALTER EXTENSION citext ADD cast (citext as character varying);
ALTER EXTENSION citext ADD cast (citext as character);
ALTER EXTENSION citext ADD cast (text as citext);
ALTER EXTENSION citext ADD cast (character varying as citext);
ALTER EXTENSION citext ADD cast (character as citext);
ALTER EXTENSION citext ADD cast (boolean as citext);
ALTER EXTENSION citext ADD cast (inet as citext);
ALTER EXTENSION citext ADD function citext_eq(citext,citext);
ALTER EXTENSION citext ADD function citext_ne(citext,citext);
ALTER EXTENSION citext ADD function citext_lt(citext,citext);
ALTER EXTENSION citext ADD function citext_le(citext,citext);
ALTER EXTENSION citext ADD function citext_gt(citext,citext);
ALTER EXTENSION citext ADD function citext_ge(citext,citext);
ALTER EXTENSION citext ADD operator <>(citext,citext);
ALTER EXTENSION citext ADD operator =(citext,citext);
ALTER EXTENSION citext ADD operator >(citext,citext);
ALTER EXTENSION citext ADD operator >=(citext,citext);
ALTER EXTENSION citext ADD operator <(citext,citext);
ALTER EXTENSION citext ADD operator <=(citext,citext);
ALTER EXTENSION citext ADD function citext_cmp(citext,citext);
ALTER EXTENSION citext ADD function citext_hash(citext);
ALTER EXTENSION citext ADD operator family citext_ops using btree;
ALTER EXTENSION citext ADD operator class citext_ops using btree;
ALTER EXTENSION citext ADD operator family citext_ops using hash;
ALTER EXTENSION citext ADD operator class citext_ops using hash;
ALTER EXTENSION citext ADD function citext_smaller(citext,citext);
ALTER EXTENSION citext ADD function citext_larger(citext,citext);
ALTER EXTENSION citext ADD function min(citext);
ALTER EXTENSION citext ADD function max(citext);
ALTER EXTENSION citext ADD function texticlike(citext,citext);
ALTER EXTENSION citext ADD function texticnlike(citext,citext);
ALTER EXTENSION citext ADD function texticregexeq(citext,citext);
ALTER EXTENSION citext ADD function texticregexne(citext,citext);
ALTER EXTENSION citext ADD operator !~(citext,citext);
ALTER EXTENSION citext ADD operator ~(citext,citext);
ALTER EXTENSION citext ADD operator !~*(citext,citext);
ALTER EXTENSION citext ADD operator ~*(citext,citext);
ALTER EXTENSION citext ADD operator !~~(citext,citext);
ALTER EXTENSION citext ADD operator ~~(citext,citext);
ALTER EXTENSION citext ADD operator !~~*(citext,citext);
ALTER EXTENSION citext ADD operator ~~*(citext,citext);
ALTER EXTENSION citext ADD function texticlike(citext,text);
ALTER EXTENSION citext ADD function texticnlike(citext,text);
ALTER EXTENSION citext ADD function texticregexeq(citext,text);
ALTER EXTENSION citext ADD function texticregexne(citext,text);
ALTER EXTENSION citext ADD operator !~(citext,text);
ALTER EXTENSION citext ADD operator ~(citext,text);
ALTER EXTENSION citext ADD operator !~*(citext,text);
ALTER EXTENSION citext ADD operator ~*(citext,text);
ALTER EXTENSION citext ADD operator !~~(citext,text);
ALTER EXTENSION citext ADD operator ~~(citext,text);
ALTER EXTENSION citext ADD operator !~~*(citext,text);
ALTER EXTENSION citext ADD operator ~~*(citext,text);
ALTER EXTENSION citext ADD function regexp_matches(citext,citext);
ALTER EXTENSION citext ADD function regexp_matches(citext,citext,text);
ALTER EXTENSION citext ADD function regexp_replace(citext,citext,text);
ALTER EXTENSION citext ADD function regexp_replace(citext,citext,text,text);
ALTER EXTENSION citext ADD function regexp_split_to_array(citext,citext);
ALTER EXTENSION citext ADD function regexp_split_to_array(citext,citext,text);
ALTER EXTENSION citext ADD function regexp_split_to_table(citext,citext);
ALTER EXTENSION citext ADD function regexp_split_to_table(citext,citext,text);
ALTER EXTENSION citext ADD function strpos(citext,citext);
ALTER EXTENSION citext ADD function replace(citext,citext,citext);
ALTER EXTENSION citext ADD function split_part(citext,citext,integer);
ALTER EXTENSION citext ADD function translate(citext,citext,text);
# citext extension
comment = 'data type for case-insensitive character strings'
default_version = '1.0'
module_pathname = '$libdir/citext'
relocatable = true
-- --
-- Test citext datatype -- Test citext datatype
-- --
-- CREATE EXTENSION citext;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of citext.sql.
--
SET client_min_messages = warning;
\set ECHO none
-- Test the operators and indexing functions -- Test the operators and indexing functions
-- Test = and <>. -- Test = and <>.
SELECT 'a'::citext = 'a'::citext AS t; SELECT 'a'::citext = 'a'::citext AS t;
......
-- --
-- Test citext datatype -- Test citext datatype
-- --
-- CREATE EXTENSION citext;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of citext.sql.
--
SET client_min_messages = warning;
\set ECHO none
-- Test the operators and indexing functions -- Test the operators and indexing functions
-- Test = and <>. -- Test = and <>.
SELECT 'a'::citext = 'a'::citext AS t; SELECT 'a'::citext = 'a'::citext AS t;
......
...@@ -2,15 +2,7 @@ ...@@ -2,15 +2,7 @@
-- Test citext datatype -- Test citext datatype
-- --
-- CREATE EXTENSION citext;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of citext.sql.
--
SET client_min_messages = warning;
\set ECHO none
\i citext.sql
RESET client_min_messages;
\set ECHO all
-- Test the operators and indexing functions -- Test the operators and indexing functions
......
/* contrib/citext/uninstall_citext.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP OPERATOR CLASS citext_ops USING btree CASCADE;
DROP OPERATOR CLASS citext_ops USING hash CASCADE;
DROP AGGREGATE min(citext);
DROP AGGREGATE max(citext);
DROP OPERATOR = (citext, citext);
DROP OPERATOR <> (citext, citext);
DROP OPERATOR < (citext, citext);
DROP OPERATOR <= (citext, citext);
DROP OPERATOR >= (citext, citext);
DROP OPERATOR > (citext, citext);
DROP OPERATOR ~ (citext, citext);
DROP OPERATOR ~* (citext, citext);
DROP OPERATOR !~ (citext, citext);
DROP OPERATOR !~* (citext, citext);
DROP OPERATOR ~~ (citext, citext);
DROP OPERATOR ~~* (citext, citext);
DROP OPERATOR !~~ (citext, citext);
DROP OPERATOR !~~* (citext, citext);
DROP OPERATOR ~ (citext, text);
DROP OPERATOR ~* (citext, text);
DROP OPERATOR !~ (citext, text);
DROP OPERATOR !~* (citext, text);
DROP OPERATOR ~~ (citext, text);
DROP OPERATOR ~~* (citext, text);
DROP OPERATOR !~~ (citext, text);
DROP OPERATOR !~~* (citext, text);
DROP CAST (citext AS text);
DROP CAST (citext AS varchar);
DROP CAST (citext AS bpchar);
DROP CAST (text AS citext);
DROP CAST (varchar AS citext);
DROP CAST (bpchar AS citext);
DROP CAST (boolean AS citext);
DROP CAST (inet AS citext);
DROP FUNCTION citext(bpchar);
DROP FUNCTION citext(boolean);
DROP FUNCTION citext(inet);
DROP FUNCTION citext_eq(citext, citext);
DROP FUNCTION citext_ne(citext, citext);
DROP FUNCTION citext_lt(citext, citext);
DROP FUNCTION citext_le(citext, citext);
DROP FUNCTION citext_gt(citext, citext);
DROP FUNCTION citext_ge(citext, citext);
DROP FUNCTION citext_cmp(citext, citext);
DROP FUNCTION citext_hash(citext);
DROP FUNCTION citext_smaller(citext, citext);
DROP FUNCTION citext_larger(citext, citext);
DROP FUNCTION texticlike(citext, citext);
DROP FUNCTION texticnlike(citext, citext);
DROP FUNCTION texticregexeq(citext, citext);
DROP FUNCTION texticregexne(citext, citext);
DROP FUNCTION texticlike(citext, text);
DROP FUNCTION texticnlike(citext, text);
DROP FUNCTION texticregexeq(citext, text);
DROP FUNCTION texticregexne(citext, text);
DROP FUNCTION regexp_matches( citext, citext );
DROP FUNCTION regexp_matches( citext, citext, text );
DROP FUNCTION regexp_replace( citext, citext, text );
DROP FUNCTION regexp_replace( citext, citext, text, text );
DROP FUNCTION regexp_split_to_array( citext, citext );
DROP FUNCTION regexp_split_to_array( citext, citext, text );
DROP FUNCTION regexp_split_to_table( citext, citext );
DROP FUNCTION regexp_split_to_table( citext, citext, text );
DROP FUNCTION strpos( citext, citext );
DROP FUNCTION replace( citext, citext, citext );
DROP FUNCTION split_part( citext, citext, int );
DROP FUNCTION translate( citext, citext, text );
DROP TYPE citext CASCADE;
/cubeparse.c /cubeparse.c
/cubescan.c /cubescan.c
/cube.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
MODULE_big = cube MODULE_big = cube
OBJS= cube.o cubeparse.o OBJS= cube.o cubeparse.o
DATA_built = cube.sql EXTENSION = cube
DATA = uninstall_cube.sql DATA = cube--1.0.sql cube--unpackaged--1.0.sql
REGRESS = cube REGRESS = cube
EXTRA_CLEAN = y.tab.c y.tab.h EXTRA_CLEAN = y.tab.c y.tab.h
......
/* contrib/cube/cube.sql.in */ /* contrib/cube/cube--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- Create the user-defined type for N-dimensional boxes -- Create the user-defined type for N-dimensional boxes
--
CREATE OR REPLACE FUNCTION cube_in(cstring) CREATE OR REPLACE FUNCTION cube_in(cstring)
RETURNS cube RETURNS cube
......
/* contrib/cube/cube--unpackaged--1.0.sql */
ALTER EXTENSION cube ADD type cube;
ALTER EXTENSION cube ADD function cube_in(cstring);
ALTER EXTENSION cube ADD function cube(double precision[],double precision[]);
ALTER EXTENSION cube ADD function cube(double precision[]);
ALTER EXTENSION cube ADD function cube_out(cube);
ALTER EXTENSION cube ADD function cube_eq(cube,cube);
ALTER EXTENSION cube ADD function cube_ne(cube,cube);
ALTER EXTENSION cube ADD function cube_lt(cube,cube);
ALTER EXTENSION cube ADD function cube_gt(cube,cube);
ALTER EXTENSION cube ADD function cube_le(cube,cube);
ALTER EXTENSION cube ADD function cube_ge(cube,cube);
ALTER EXTENSION cube ADD function cube_cmp(cube,cube);
ALTER EXTENSION cube ADD function cube_contains(cube,cube);
ALTER EXTENSION cube ADD function cube_contained(cube,cube);
ALTER EXTENSION cube ADD function cube_overlap(cube,cube);
ALTER EXTENSION cube ADD function cube_union(cube,cube);
ALTER EXTENSION cube ADD function cube_inter(cube,cube);
ALTER EXTENSION cube ADD function cube_size(cube);
ALTER EXTENSION cube ADD function cube_subset(cube,integer[]);
ALTER EXTENSION cube ADD function cube_distance(cube,cube);
ALTER EXTENSION cube ADD function cube_dim(cube);
ALTER EXTENSION cube ADD function cube_ll_coord(cube,integer);
ALTER EXTENSION cube ADD function cube_ur_coord(cube,integer);
ALTER EXTENSION cube ADD function cube(double precision);
ALTER EXTENSION cube ADD function cube(double precision,double precision);
ALTER EXTENSION cube ADD function cube(cube,double precision);
ALTER EXTENSION cube ADD function cube(cube,double precision,double precision);
ALTER EXTENSION cube ADD function cube_is_point(cube);
ALTER EXTENSION cube ADD function cube_enlarge(cube,double precision,integer);
ALTER EXTENSION cube ADD operator >(cube,cube);
ALTER EXTENSION cube ADD operator >=(cube,cube);
ALTER EXTENSION cube ADD operator <(cube,cube);
ALTER EXTENSION cube ADD operator <=(cube,cube);
ALTER EXTENSION cube ADD operator &&(cube,cube);
ALTER EXTENSION cube ADD operator <>(cube,cube);
ALTER EXTENSION cube ADD operator =(cube,cube);
ALTER EXTENSION cube ADD operator <@(cube,cube);
ALTER EXTENSION cube ADD operator @>(cube,cube);
ALTER EXTENSION cube ADD operator ~(cube,cube);
ALTER EXTENSION cube ADD operator @(cube,cube);
ALTER EXTENSION cube ADD function g_cube_consistent(internal,cube,integer,oid,internal);
ALTER EXTENSION cube ADD function g_cube_compress(internal);
ALTER EXTENSION cube ADD function g_cube_decompress(internal);
ALTER EXTENSION cube ADD function g_cube_penalty(internal,internal,internal);
ALTER EXTENSION cube ADD function g_cube_picksplit(internal,internal);
ALTER EXTENSION cube ADD function g_cube_union(internal,internal);
ALTER EXTENSION cube ADD function g_cube_same(cube,cube,internal);
ALTER EXTENSION cube ADD operator family cube_ops using btree;
ALTER EXTENSION cube ADD operator class cube_ops using btree;
ALTER EXTENSION cube ADD operator family gist_cube_ops using gist;
ALTER EXTENSION cube ADD operator class gist_cube_ops using gist;
# cube extension
comment = 'data type for multidimensional cubes'
default_version = '1.0'
module_pathname = '$libdir/cube'
relocatable = true
-- --
-- Test cube datatype -- Test cube datatype
-- --
-- CREATE EXTENSION cube;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of cube.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
-- --
-- testing the input and output functions -- testing the input and output functions
-- --
......
-- --
-- Test cube datatype -- Test cube datatype
-- --
-- CREATE EXTENSION cube;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of cube.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
-- --
-- testing the input and output functions -- testing the input and output functions
-- --
......
-- --
-- Test cube datatype -- Test cube datatype
-- --
-- CREATE EXTENSION cube;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of cube.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
-- --
-- testing the input and output functions -- testing the input and output functions
-- --
......
...@@ -2,15 +2,7 @@ ...@@ -2,15 +2,7 @@
-- Test cube datatype -- Test cube datatype
-- --
-- CREATE EXTENSION cube;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of cube.sql.
--
SET client_min_messages = warning;
\set ECHO none
\i cube.sql
\set ECHO all
RESET client_min_messages;
-- --
-- testing the input and output functions -- testing the input and output functions
......
/* contrib/cube/uninstall_cube.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP OPERATOR CLASS gist_cube_ops USING gist;
DROP OPERATOR CLASS cube_ops USING btree;
DROP FUNCTION g_cube_same(cube, cube, internal);
DROP FUNCTION g_cube_union(internal, internal);
DROP FUNCTION g_cube_picksplit(internal, internal);
DROP FUNCTION g_cube_penalty(internal,internal,internal);
DROP FUNCTION g_cube_decompress(internal);
DROP FUNCTION g_cube_compress(internal);
DROP FUNCTION g_cube_consistent(internal,cube,int,oid,internal);
DROP OPERATOR ~ (cube, cube);
DROP OPERATOR @ (cube, cube);
DROP OPERATOR <@ (cube, cube);
DROP OPERATOR @> (cube, cube);
DROP OPERATOR <> (cube, cube);
DROP OPERATOR = (cube, cube);
DROP OPERATOR && (cube, cube);
DROP OPERATOR >= (cube, cube);
DROP OPERATOR <= (cube, cube);
DROP OPERATOR > (cube, cube);
DROP OPERATOR < (cube, cube);
DROP FUNCTION cube_enlarge(cube, float8, int4);
DROP FUNCTION cube_is_point(cube);
DROP FUNCTION cube(cube, float8, float8);
DROP FUNCTION cube(cube, float8);
DROP FUNCTION cube(float8, float8);
DROP FUNCTION cube(float8[], float8[]);
DROP FUNCTION cube(float8[]);
DROP FUNCTION cube_subset(cube, int4[]);
DROP FUNCTION cube(float8);
DROP FUNCTION cube_ur_coord(cube, int4);
DROP FUNCTION cube_ll_coord(cube, int4);
DROP FUNCTION cube_dim(cube);
DROP FUNCTION cube_distance(cube, cube);
DROP FUNCTION cube_size(cube);
DROP FUNCTION cube_inter(cube, cube);
DROP FUNCTION cube_union(cube, cube);
DROP FUNCTION cube_overlap(cube, cube);
DROP FUNCTION cube_contained(cube, cube);
DROP FUNCTION cube_contains(cube, cube);
DROP FUNCTION cube_cmp(cube, cube);
DROP FUNCTION cube_ge(cube, cube);
DROP FUNCTION cube_le(cube, cube);
DROP FUNCTION cube_gt(cube, cube);
DROP FUNCTION cube_lt(cube, cube);
DROP FUNCTION cube_ne(cube, cube);
DROP FUNCTION cube_eq(cube, cube);
DROP TYPE cube CASCADE;
/dblink.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
# contrib/dblink/Makefile # contrib/dblink/Makefile
MODULE_big = dblink MODULE_big = dblink
PG_CPPFLAGS = -I$(libpq_srcdir)
OBJS = dblink.o OBJS = dblink.o
PG_CPPFLAGS = -I$(libpq_srcdir)
SHLIB_LINK = $(libpq) SHLIB_LINK = $(libpq)
SHLIB_PREREQS = submake-libpq SHLIB_PREREQS = submake-libpq
DATA_built = dblink.sql EXTENSION = dblink
DATA = uninstall_dblink.sql DATA = dblink--1.0.sql dblink--unpackaged--1.0.sql
REGRESS = dblink
REGRESS = dblink
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
/* contrib/dblink/dblink.sql.in */ /* contrib/dblink/dblink--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- dblink_connect now restricts non-superusers to password -- dblink_connect now restricts non-superusers to password
-- authenticated connections -- authenticated connections
......
/* contrib/dblink/dblink--unpackaged--1.0.sql */
ALTER EXTENSION dblink ADD function dblink_connect(text);
ALTER EXTENSION dblink ADD function dblink_connect(text,text);
ALTER EXTENSION dblink ADD function dblink_connect_u(text);
ALTER EXTENSION dblink ADD function dblink_connect_u(text,text);
ALTER EXTENSION dblink ADD function dblink_disconnect();
ALTER EXTENSION dblink ADD function dblink_disconnect(text);
ALTER EXTENSION dblink ADD function dblink_open(text,text);
ALTER EXTENSION dblink ADD function dblink_open(text,text,boolean);
ALTER EXTENSION dblink ADD function dblink_open(text,text,text);
ALTER EXTENSION dblink ADD function dblink_open(text,text,text,boolean);
ALTER EXTENSION dblink ADD function dblink_fetch(text,integer);
ALTER EXTENSION dblink ADD function dblink_fetch(text,integer,boolean);
ALTER EXTENSION dblink ADD function dblink_fetch(text,text,integer);
ALTER EXTENSION dblink ADD function dblink_fetch(text,text,integer,boolean);
ALTER EXTENSION dblink ADD function dblink_close(text);
ALTER EXTENSION dblink ADD function dblink_close(text,boolean);
ALTER EXTENSION dblink ADD function dblink_close(text,text);
ALTER EXTENSION dblink ADD function dblink_close(text,text,boolean);
ALTER EXTENSION dblink ADD function dblink(text,text);
ALTER EXTENSION dblink ADD function dblink(text,text,boolean);
ALTER EXTENSION dblink ADD function dblink(text);
ALTER EXTENSION dblink ADD function dblink(text,boolean);
ALTER EXTENSION dblink ADD function dblink_exec(text,text);
ALTER EXTENSION dblink ADD function dblink_exec(text,text,boolean);
ALTER EXTENSION dblink ADD function dblink_exec(text);
ALTER EXTENSION dblink ADD function dblink_exec(text,boolean);
ALTER EXTENSION dblink ADD type dblink_pkey_results;
ALTER EXTENSION dblink ADD function dblink_get_pkey(text);
ALTER EXTENSION dblink ADD function dblink_build_sql_insert(text,int2vector,integer,text[],text[]);
ALTER EXTENSION dblink ADD function dblink_build_sql_delete(text,int2vector,integer,text[]);
ALTER EXTENSION dblink ADD function dblink_build_sql_update(text,int2vector,integer,text[],text[]);
ALTER EXTENSION dblink ADD function dblink_current_query();
ALTER EXTENSION dblink ADD function dblink_send_query(text,text);
ALTER EXTENSION dblink ADD function dblink_is_busy(text);
ALTER EXTENSION dblink ADD function dblink_get_result(text);
ALTER EXTENSION dblink ADD function dblink_get_result(text,boolean);
ALTER EXTENSION dblink ADD function dblink_get_connections();
ALTER EXTENSION dblink ADD function dblink_cancel_query(text);
ALTER EXTENSION dblink ADD function dblink_error_message(text);
ALTER EXTENSION dblink ADD function dblink_get_notify();
ALTER EXTENSION dblink ADD function dblink_get_notify(text);
# dblink extension
comment = 'connect to other PostgreSQL databases from within a database'
default_version = '1.0'
module_pathname = '$libdir/dblink'
relocatable = true
-- Adjust this setting to control where the objects get created. CREATE EXTENSION dblink;
SET search_path = public;
--
-- Define the functions and test data
-- therein.
--
-- Turn off echoing so that expected file does not depend on
-- contents of dblink.sql.
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
CREATE TABLE foo(f1 int, f2 text, f3 text[], primary key (f1,f2)); CREATE TABLE foo(f1 int, f2 text, f3 text[], primary key (f1,f2));
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "foo_pkey" for table "foo" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "foo_pkey" for table "foo"
INSERT INTO foo VALUES (0,'a','{"a0","b0","c0"}'); INSERT INTO foo VALUES (0,'a','{"a0","b0","c0"}');
......
-- Adjust this setting to control where the objects get created. CREATE EXTENSION dblink;
SET search_path = public;
--
-- Define the functions and test data
-- therein.
--
-- Turn off echoing so that expected file does not depend on
-- contents of dblink.sql.
SET client_min_messages = warning;
\set ECHO none
\i dblink.sql
\set ECHO all
RESET client_min_messages;
CREATE TABLE foo(f1 int, f2 text, f3 text[], primary key (f1,f2)); CREATE TABLE foo(f1 int, f2 text, f3 text[], primary key (f1,f2));
INSERT INTO foo VALUES (0,'a','{"a0","b0","c0"}'); INSERT INTO foo VALUES (0,'a','{"a0","b0","c0"}');
......
/* contrib/dblink/uninstall_dblink.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP FUNCTION dblink_current_query ();
DROP FUNCTION dblink_build_sql_update (text, int2vector, int4, _text, _text);
DROP FUNCTION dblink_build_sql_delete (text, int2vector, int4, _text);
DROP FUNCTION dblink_build_sql_insert (text, int2vector, int4, _text, _text);
DROP FUNCTION dblink_get_pkey (text);
DROP TYPE dblink_pkey_results;
DROP FUNCTION dblink_exec (text,bool);
DROP FUNCTION dblink_exec (text);
DROP FUNCTION dblink_exec (text,text,bool);
DROP FUNCTION dblink_exec (text,text);
DROP FUNCTION dblink (text,bool);
DROP FUNCTION dblink (text);
DROP FUNCTION dblink (text,text,bool);
DROP FUNCTION dblink (text,text);
DROP FUNCTION dblink_close (text,text,bool);
DROP FUNCTION dblink_close (text,text);
DROP FUNCTION dblink_close (text,bool);
DROP FUNCTION dblink_close (text);
DROP FUNCTION dblink_fetch (text,text,int,bool);
DROP FUNCTION dblink_fetch (text,text,int);
DROP FUNCTION dblink_fetch (text,int,bool);
DROP FUNCTION dblink_fetch (text,int);
DROP FUNCTION dblink_open (text,text,text,bool);
DROP FUNCTION dblink_open (text,text,text);
DROP FUNCTION dblink_open (text,text,bool);
DROP FUNCTION dblink_open (text,text);
DROP FUNCTION dblink_disconnect (text);
DROP FUNCTION dblink_disconnect ();
DROP FUNCTION dblink_connect (text, text);
DROP FUNCTION dblink_connect (text);
DROP FUNCTION dblink_connect_u (text, text);
DROP FUNCTION dblink_connect_u (text);
DROP FUNCTION dblink_cancel_query(text);
DROP FUNCTION dblink_error_message(text);
DROP FUNCTION dblink_get_connections();
DROP FUNCTION dblink_get_result(text);
DROP FUNCTION dblink_get_result(text, boolean);
DROP FUNCTION dblink_is_busy(text);
DROP FUNCTION dblink_send_query(text, text);
DROP FUNCTION dblink_get_notify();
DROP FUNCTION dblink_get_notify(text);
/dict_int.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
MODULE_big = dict_int MODULE_big = dict_int
OBJS = dict_int.o OBJS = dict_int.o
DATA_built = dict_int.sql
DATA = uninstall_dict_int.sql EXTENSION = dict_int
DATA = dict_int--1.0.sql dict_int--unpackaged--1.0.sql
REGRESS = dict_int REGRESS = dict_int
ifdef USE_PGXS ifdef USE_PGXS
......
/* contrib/dict_int/dict_int.sql.in */ /* contrib/dict_int/dict_int--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION dintdict_init(internal) CREATE OR REPLACE FUNCTION dintdict_init(internal)
RETURNS internal RETURNS internal
......
/* contrib/dict_int/dict_int--unpackaged--1.0.sql */
ALTER EXTENSION dict_int ADD function dintdict_init(internal);
ALTER EXTENSION dict_int ADD function dintdict_lexize(internal,internal,internal,internal);
ALTER EXTENSION dict_int ADD text search template intdict_template;
ALTER EXTENSION dict_int ADD text search dictionary intdict;
# dict_int extension
comment = 'text search dictionary template for integers'
default_version = '1.0'
module_pathname = '$libdir/dict_int'
relocatable = true
-- CREATE EXTENSION dict_int;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of this file.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
--lexize --lexize
select ts_lexize('intdict', '511673'); select ts_lexize('intdict', '511673');
ts_lexize ts_lexize
......
-- CREATE EXTENSION dict_int;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of this file.
--
SET client_min_messages = warning;
\set ECHO none
\i dict_int.sql
\set ECHO all
RESET client_min_messages;
--lexize --lexize
select ts_lexize('intdict', '511673'); select ts_lexize('intdict', '511673');
......
/* contrib/dict_int/uninstall_dict_int.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP TEXT SEARCH DICTIONARY intdict;
DROP TEXT SEARCH TEMPLATE intdict_template;
DROP FUNCTION dintdict_init(internal);
DROP FUNCTION dintdict_lexize(internal,internal,internal,internal);
/dict_xsyn.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
...@@ -2,9 +2,11 @@ ...@@ -2,9 +2,11 @@
MODULE_big = dict_xsyn MODULE_big = dict_xsyn
OBJS = dict_xsyn.o OBJS = dict_xsyn.o
DATA_built = dict_xsyn.sql
DATA = uninstall_dict_xsyn.sql EXTENSION = dict_xsyn
DATA = dict_xsyn--1.0.sql dict_xsyn--unpackaged--1.0.sql
DATA_TSEARCH = xsyn_sample.rules DATA_TSEARCH = xsyn_sample.rules
REGRESS = dict_xsyn REGRESS = dict_xsyn
ifdef USE_PGXS ifdef USE_PGXS
......
/* contrib/dict_xsyn/dict_xsyn.sql.in */ /* contrib/dict_xsyn/dict_xsyn--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION dxsyn_init(internal) CREATE OR REPLACE FUNCTION dxsyn_init(internal)
RETURNS internal RETURNS internal
......
/* contrib/dict_xsyn/dict_xsyn--unpackaged--1.0.sql */
ALTER EXTENSION dict_xsyn ADD function dxsyn_init(internal);
ALTER EXTENSION dict_xsyn ADD function dxsyn_lexize(internal,internal,internal,internal);
ALTER EXTENSION dict_xsyn ADD text search template xsyn_template;
ALTER EXTENSION dict_xsyn ADD text search dictionary xsyn;
# dict_xsyn extension
comment = 'text search dictionary template for extended synonym processing'
default_version = '1.0'
module_pathname = '$libdir/dict_xsyn'
relocatable = true
-- CREATE EXTENSION dict_xsyn;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of this file.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
-- default configuration - match first word and return it among with all synonyms -- default configuration - match first word and return it among with all synonyms
ALTER TEXT SEARCH DICTIONARY xsyn (RULES='xsyn_sample', KEEPORIG=true, MATCHORIG=true, KEEPSYNONYMS=true, MATCHSYNONYMS=false); ALTER TEXT SEARCH DICTIONARY xsyn (RULES='xsyn_sample', KEEPORIG=true, MATCHORIG=true, KEEPSYNONYMS=true, MATCHSYNONYMS=false);
--lexize --lexize
......
-- CREATE EXTENSION dict_xsyn;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of this file.
--
SET client_min_messages = warning;
\set ECHO none
\i dict_xsyn.sql
\set ECHO all
RESET client_min_messages;
-- default configuration - match first word and return it among with all synonyms -- default configuration - match first word and return it among with all synonyms
ALTER TEXT SEARCH DICTIONARY xsyn (RULES='xsyn_sample', KEEPORIG=true, MATCHORIG=true, KEEPSYNONYMS=true, MATCHSYNONYMS=false); ALTER TEXT SEARCH DICTIONARY xsyn (RULES='xsyn_sample', KEEPORIG=true, MATCHORIG=true, KEEPSYNONYMS=true, MATCHSYNONYMS=false);
......
/* contrib/dict_xsyn/uninstall_dict_xsyn.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP TEXT SEARCH DICTIONARY xsyn;
DROP TEXT SEARCH TEMPLATE xsyn_template;
DROP FUNCTION dxsyn_init(internal);
DROP FUNCTION dxsyn_lexize(internal,internal,internal,internal);
/earthdistance.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
# contrib/earthdistance/Makefile # contrib/earthdistance/Makefile
MODULES = earthdistance MODULES = earthdistance
DATA_built = earthdistance.sql
DATA = uninstall_earthdistance.sql EXTENSION = earthdistance
DATA = earthdistance--1.0.sql earthdistance--unpackaged--1.0.sql
REGRESS = earthdistance REGRESS = earthdistance
LDFLAGS_SL += $(filter -lm, $(LIBS)) LDFLAGS_SL += $(filter -lm, $(LIBS))
......
/* contrib/earthdistance/earthdistance.sql.in */ /* contrib/earthdistance/earthdistance--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- The earth functions rely on contrib/cube having been installed and loaded.
-- earth() returns the radius of the earth in meters. This is the only -- earth() returns the radius of the earth in meters. This is the only
-- place you need to change things for the cube base distance functions -- place you need to change things for the cube base distance functions
......
/* contrib/earthdistance/earthdistance--unpackaged--1.0.sql */
ALTER EXTENSION earthdistance ADD function earth();
ALTER EXTENSION earthdistance ADD type earth;
ALTER EXTENSION earthdistance ADD function sec_to_gc(double precision);
ALTER EXTENSION earthdistance ADD function gc_to_sec(double precision);
ALTER EXTENSION earthdistance ADD function ll_to_earth(double precision,double precision);
ALTER EXTENSION earthdistance ADD function latitude(earth);
ALTER EXTENSION earthdistance ADD function longitude(earth);
ALTER EXTENSION earthdistance ADD function earth_distance(earth,earth);
ALTER EXTENSION earthdistance ADD function earth_box(earth,double precision);
ALTER EXTENSION earthdistance ADD function geo_distance(point,point);
ALTER EXTENSION earthdistance ADD operator <@>(point,point);
# earthdistance extension
comment = 'calculate great-circle distances on the surface of the Earth'
default_version = '1.0'
module_pathname = '$libdir/earthdistance'
relocatable = true
requires = 'cube'
-- --
-- Test earth distance functions -- Test earth distance functions
-- --
-- CREATE EXTENSION cube;
-- first, define the datatype. Turn off echoing so that expected file CREATE EXTENSION earthdistance;
-- does not depend on contents of earthdistance.sql or cube.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
-- --
-- The radius of the Earth we are using. -- The radius of the Earth we are using.
-- --
......
...@@ -2,16 +2,8 @@ ...@@ -2,16 +2,8 @@
-- Test earth distance functions -- Test earth distance functions
-- --
-- CREATE EXTENSION cube;
-- first, define the datatype. Turn off echoing so that expected file CREATE EXTENSION earthdistance;
-- does not depend on contents of earthdistance.sql or cube.sql.
--
SET client_min_messages = warning;
\set ECHO none
\i ../cube/cube.sql
\i earthdistance.sql
\set ECHO all
RESET client_min_messages;
-- --
-- The radius of the Earth we are using. -- The radius of the Earth we are using.
......
/* contrib/earthdistance/uninstall_earthdistance.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP OPERATOR <@> (point, point);
DROP FUNCTION geo_distance (point, point);
DROP FUNCTION earth_box(earth, float8);
DROP FUNCTION earth_distance(earth, earth);
DROP FUNCTION longitude(earth);
DROP FUNCTION latitude(earth);
DROP FUNCTION ll_to_earth(float8, float8);
DROP FUNCTION gc_to_sec(float8);
DROP FUNCTION sec_to_gc(float8);
DROP DOMAIN earth;
DROP FUNCTION earth();
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
MODULE_big = fuzzystrmatch MODULE_big = fuzzystrmatch
OBJS = fuzzystrmatch.o dmetaphone.o OBJS = fuzzystrmatch.o dmetaphone.o
DATA_built = fuzzystrmatch.sql
DATA = uninstall_fuzzystrmatch.sql EXTENSION = fuzzystrmatch
DATA = fuzzystrmatch--1.0.sql fuzzystrmatch--unpackaged--1.0.sql
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
/* contrib/fuzzystrmatch/fuzzystrmatch.sql.in */ /* contrib/fuzzystrmatch/fuzzystrmatch--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION levenshtein (text,text) RETURNS int CREATE OR REPLACE FUNCTION levenshtein (text,text) RETURNS int
AS 'MODULE_PATHNAME','levenshtein' AS 'MODULE_PATHNAME','levenshtein'
......
/* contrib/fuzzystrmatch/fuzzystrmatch--unpackaged--1.0.sql */
ALTER EXTENSION fuzzystrmatch ADD function levenshtein(text,text);
ALTER EXTENSION fuzzystrmatch ADD function levenshtein(text,text,integer,integer,integer);
ALTER EXTENSION fuzzystrmatch ADD function levenshtein_less_equal(text,text,integer);
ALTER EXTENSION fuzzystrmatch ADD function levenshtein_less_equal(text,text,integer,integer,integer,integer);
ALTER EXTENSION fuzzystrmatch ADD function metaphone(text,integer);
ALTER EXTENSION fuzzystrmatch ADD function soundex(text);
ALTER EXTENSION fuzzystrmatch ADD function text_soundex(text);
ALTER EXTENSION fuzzystrmatch ADD function difference(text,text);
ALTER EXTENSION fuzzystrmatch ADD function dmetaphone(text);
ALTER EXTENSION fuzzystrmatch ADD function dmetaphone_alt(text);
# fuzzystrmatch extension
comment = 'determine similarities and distance between strings'
default_version = '1.0'
module_pathname = '$libdir/fuzzystrmatch'
relocatable = true
/* contrib/fuzzystrmatch/uninstall_fuzzystrmatch.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP FUNCTION dmetaphone_alt (text);
DROP FUNCTION dmetaphone (text);
DROP FUNCTION difference(text,text);
DROP FUNCTION text_soundex(text);
DROP FUNCTION soundex(text);
DROP FUNCTION metaphone (text,int);
DROP FUNCTION levenshtein (text,text,int,int,int);
DROP FUNCTION levenshtein (text,text);
DROP FUNCTION levenshtein_less_equal (text,text,int);
DROP FUNCTION levenshtein_less_equal (text,text,int,int,int,int);
/hstore.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
...@@ -4,8 +4,9 @@ MODULE_big = hstore ...@@ -4,8 +4,9 @@ MODULE_big = hstore
OBJS = hstore_io.o hstore_op.o hstore_gist.o hstore_gin.o hstore_compat.o \ OBJS = hstore_io.o hstore_op.o hstore_gist.o hstore_gin.o hstore_compat.o \
crc32.o crc32.o
DATA_built = hstore.sql EXTENSION = hstore
DATA = uninstall_hstore.sql DATA = hstore--1.0.sql hstore--unpackaged--1.0.sql
REGRESS = hstore REGRESS = hstore
ifdef USE_PGXS ifdef USE_PGXS
......
-- CREATE EXTENSION hstore;
-- first, define the datatype. Turn off echoing so that expected file WARNING: => is deprecated as an operator name
-- does not depend on contents of hstore.sql.
--
SET client_min_messages = warning;
\set ECHO none
psql:hstore.sql:228: WARNING: => is deprecated as an operator name
DETAIL: This name may be disallowed altogether in future versions of PostgreSQL. DETAIL: This name may be disallowed altogether in future versions of PostgreSQL.
RESET client_min_messages;
set escape_string_warning=off; set escape_string_warning=off;
--hstore; --hstore;
select ''::hstore; select ''::hstore;
......
/* contrib/hstore/hstore.sql.in */ /* contrib/hstore/hstore--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE TYPE hstore; CREATE TYPE hstore;
......
/* contrib/hstore/hstore--unpackaged--1.0.sql */
ALTER EXTENSION hstore ADD type hstore;
ALTER EXTENSION hstore ADD function hstore_in(cstring);
ALTER EXTENSION hstore ADD function hstore_out(hstore);
ALTER EXTENSION hstore ADD function hstore_recv(internal);
ALTER EXTENSION hstore ADD function hstore_send(hstore);
ALTER EXTENSION hstore ADD function hstore_version_diag(hstore);
ALTER EXTENSION hstore ADD function fetchval(hstore,text);
ALTER EXTENSION hstore ADD operator ->(hstore,text);
ALTER EXTENSION hstore ADD function slice_array(hstore,text[]);
ALTER EXTENSION hstore ADD operator ->(hstore,text[]);
ALTER EXTENSION hstore ADD function slice(hstore,text[]);
ALTER EXTENSION hstore ADD function isexists(hstore,text);
ALTER EXTENSION hstore ADD function exist(hstore,text);
ALTER EXTENSION hstore ADD operator ?(hstore,text);
ALTER EXTENSION hstore ADD function exists_any(hstore,text[]);
ALTER EXTENSION hstore ADD operator ?|(hstore,text[]);
ALTER EXTENSION hstore ADD function exists_all(hstore,text[]);
ALTER EXTENSION hstore ADD operator ?&(hstore,text[]);
ALTER EXTENSION hstore ADD function isdefined(hstore,text);
ALTER EXTENSION hstore ADD function defined(hstore,text);
ALTER EXTENSION hstore ADD function delete(hstore,text);
ALTER EXTENSION hstore ADD function delete(hstore,text[]);
ALTER EXTENSION hstore ADD function delete(hstore,hstore);
ALTER EXTENSION hstore ADD operator -(hstore,text);
ALTER EXTENSION hstore ADD operator -(hstore,text[]);
ALTER EXTENSION hstore ADD operator -(hstore,hstore);
ALTER EXTENSION hstore ADD function hs_concat(hstore,hstore);
ALTER EXTENSION hstore ADD operator ||(hstore,hstore);
ALTER EXTENSION hstore ADD function hs_contains(hstore,hstore);
ALTER EXTENSION hstore ADD function hs_contained(hstore,hstore);
ALTER EXTENSION hstore ADD operator <@(hstore,hstore);
ALTER EXTENSION hstore ADD operator @>(hstore,hstore);
ALTER EXTENSION hstore ADD operator ~(hstore,hstore);
ALTER EXTENSION hstore ADD operator @(hstore,hstore);
ALTER EXTENSION hstore ADD function tconvert(text,text);
ALTER EXTENSION hstore ADD function hstore(text,text);
ALTER EXTENSION hstore ADD operator =>(text,text);
ALTER EXTENSION hstore ADD function hstore(text[],text[]);
ALTER EXTENSION hstore ADD function hstore(text[]);
ALTER EXTENSION hstore ADD cast (text[] as hstore);
ALTER EXTENSION hstore ADD function hstore(record);
ALTER EXTENSION hstore ADD function hstore_to_array(hstore);
ALTER EXTENSION hstore ADD operator %%(NONE,hstore);
ALTER EXTENSION hstore ADD function hstore_to_matrix(hstore);
ALTER EXTENSION hstore ADD operator %#(NONE,hstore);
ALTER EXTENSION hstore ADD function akeys(hstore);
ALTER EXTENSION hstore ADD function avals(hstore);
ALTER EXTENSION hstore ADD function skeys(hstore);
ALTER EXTENSION hstore ADD function svals(hstore);
ALTER EXTENSION hstore ADD function each(hstore);
ALTER EXTENSION hstore ADD function populate_record(anyelement,hstore);
ALTER EXTENSION hstore ADD operator #=(anyelement,hstore);
ALTER EXTENSION hstore ADD function hstore_eq(hstore,hstore);
ALTER EXTENSION hstore ADD function hstore_ne(hstore,hstore);
ALTER EXTENSION hstore ADD function hstore_gt(hstore,hstore);
ALTER EXTENSION hstore ADD function hstore_ge(hstore,hstore);
ALTER EXTENSION hstore ADD function hstore_lt(hstore,hstore);
ALTER EXTENSION hstore ADD function hstore_le(hstore,hstore);
ALTER EXTENSION hstore ADD function hstore_cmp(hstore,hstore);
ALTER EXTENSION hstore ADD operator <>(hstore,hstore);
ALTER EXTENSION hstore ADD operator =(hstore,hstore);
ALTER EXTENSION hstore ADD operator #>#(hstore,hstore);
ALTER EXTENSION hstore ADD operator #>=#(hstore,hstore);
ALTER EXTENSION hstore ADD operator #<#(hstore,hstore);
ALTER EXTENSION hstore ADD operator #<=#(hstore,hstore);
ALTER EXTENSION hstore ADD operator family btree_hstore_ops using btree;
ALTER EXTENSION hstore ADD operator class btree_hstore_ops using btree;
ALTER EXTENSION hstore ADD function hstore_hash(hstore);
ALTER EXTENSION hstore ADD operator family hash_hstore_ops using hash;
ALTER EXTENSION hstore ADD operator class hash_hstore_ops using hash;
ALTER EXTENSION hstore ADD type ghstore;
ALTER EXTENSION hstore ADD function ghstore_in(cstring);
ALTER EXTENSION hstore ADD function ghstore_out(ghstore);
ALTER EXTENSION hstore ADD function ghstore_compress(internal);
ALTER EXTENSION hstore ADD function ghstore_decompress(internal);
ALTER EXTENSION hstore ADD function ghstore_penalty(internal,internal,internal);
ALTER EXTENSION hstore ADD function ghstore_picksplit(internal,internal);
ALTER EXTENSION hstore ADD function ghstore_union(internal,internal);
ALTER EXTENSION hstore ADD function ghstore_same(internal,internal,internal);
ALTER EXTENSION hstore ADD function ghstore_consistent(internal,internal,integer,oid,internal);
ALTER EXTENSION hstore ADD operator family gist_hstore_ops using gist;
ALTER EXTENSION hstore ADD operator class gist_hstore_ops using gist;
ALTER EXTENSION hstore ADD function gin_extract_hstore(internal,internal);
ALTER EXTENSION hstore ADD function gin_extract_hstore_query(internal,internal,smallint,internal,internal);
ALTER EXTENSION hstore ADD function gin_consistent_hstore(internal,smallint,internal,integer,internal,internal);
ALTER EXTENSION hstore ADD operator family gin_hstore_ops using gin;
ALTER EXTENSION hstore ADD operator class gin_hstore_ops using gin;
# hstore extension
comment = 'store sets of (key, value) pairs'
default_version = '1.0'
module_pathname = '$libdir/hstore'
relocatable = true
-- CREATE EXTENSION hstore;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of hstore.sql.
--
SET client_min_messages = warning;
\set ECHO none
\i hstore.sql
\set ECHO all
RESET client_min_messages;
set escape_string_warning=off; set escape_string_warning=off;
......
/* contrib/hstore/uninstall_hstore.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP OPERATOR CLASS gist_hstore_ops USING gist CASCADE;
DROP OPERATOR CLASS gin_hstore_ops USING gin CASCADE;
DROP OPERATOR CLASS hash_hstore_ops USING hash CASCADE;
DROP OPERATOR CLASS btree_hstore_ops USING btree CASCADE;
DROP OPERATOR - ( hstore, text );
DROP OPERATOR - ( hstore, text[] );
DROP OPERATOR - ( hstore, hstore );
DROP OPERATOR ? ( hstore, text );
DROP OPERATOR ?& ( hstore, text[] );
DROP OPERATOR ?| ( hstore, text[] );
DROP OPERATOR -> ( hstore, text );
DROP OPERATOR -> ( hstore, text[] );
DROP OPERATOR || ( hstore, hstore );
DROP OPERATOR @> ( hstore, hstore );
DROP OPERATOR <@ ( hstore, hstore );
DROP OPERATOR @ ( hstore, hstore );
DROP OPERATOR ~ ( hstore, hstore );
DROP OPERATOR => ( text, text );
DROP OPERATOR #= ( anyelement, hstore );
DROP OPERATOR %% ( NONE, hstore );
DROP OPERATOR %# ( NONE, hstore );
DROP OPERATOR = ( hstore, hstore );
DROP OPERATOR <> ( hstore, hstore );
DROP OPERATOR #<# ( hstore, hstore );
DROP OPERATOR #<=# ( hstore, hstore );
DROP OPERATOR #># ( hstore, hstore );
DROP OPERATOR #>=# ( hstore, hstore );
DROP CAST (text[] AS hstore);
DROP FUNCTION hstore_eq(hstore,hstore);
DROP FUNCTION hstore_ne(hstore,hstore);
DROP FUNCTION hstore_gt(hstore,hstore);
DROP FUNCTION hstore_ge(hstore,hstore);
DROP FUNCTION hstore_lt(hstore,hstore);
DROP FUNCTION hstore_le(hstore,hstore);
DROP FUNCTION hstore_cmp(hstore,hstore);
DROP FUNCTION hstore_hash(hstore);
DROP FUNCTION slice_array(hstore,text[]);
DROP FUNCTION slice(hstore,text[]);
DROP FUNCTION fetchval(hstore,text);
DROP FUNCTION isexists(hstore,text);
DROP FUNCTION exist(hstore,text);
DROP FUNCTION exists_any(hstore,text[]);
DROP FUNCTION exists_all(hstore,text[]);
DROP FUNCTION isdefined(hstore,text);
DROP FUNCTION defined(hstore,text);
DROP FUNCTION delete(hstore,text);
DROP FUNCTION delete(hstore,text[]);
DROP FUNCTION delete(hstore,hstore);
DROP FUNCTION hs_concat(hstore,hstore);
DROP FUNCTION hs_contains(hstore,hstore);
DROP FUNCTION hs_contained(hstore,hstore);
DROP FUNCTION tconvert(text,text);
DROP FUNCTION hstore(text,text);
DROP FUNCTION hstore(text[],text[]);
DROP FUNCTION hstore_to_array(hstore);
DROP FUNCTION hstore_to_matrix(hstore);
DROP FUNCTION hstore(record);
DROP FUNCTION hstore(text[]);
DROP FUNCTION akeys(hstore);
DROP FUNCTION avals(hstore);
DROP FUNCTION skeys(hstore);
DROP FUNCTION svals(hstore);
DROP FUNCTION each(hstore);
DROP FUNCTION populate_record(anyelement,hstore);
DROP FUNCTION ghstore_compress(internal);
DROP FUNCTION ghstore_decompress(internal);
DROP FUNCTION ghstore_penalty(internal,internal,internal);
DROP FUNCTION ghstore_picksplit(internal, internal);
DROP FUNCTION ghstore_union(internal, internal);
DROP FUNCTION ghstore_same(internal, internal, internal);
DROP FUNCTION ghstore_consistent(internal,internal,int,oid,internal);
DROP FUNCTION gin_consistent_hstore(internal, int2, internal, int4, internal, internal);
DROP FUNCTION gin_extract_hstore(internal, internal);
DROP FUNCTION gin_extract_hstore_query(internal, internal, smallint, internal, internal);
DROP FUNCTION hstore_version_diag(hstore);
DROP TYPE hstore CASCADE;
DROP TYPE ghstore CASCADE;
# contrib/intagg/Makefile # contrib/intagg/Makefile
DATA = int_aggregate.sql uninstall_int_aggregate.sql EXTENSION = int_aggregate
DATA = int_aggregate--1.0.sql int_aggregate--unpackaged--1.0.sql
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
/* contrib/intagg/int_aggregate.sql */ /* contrib/intagg/int_aggregate--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- Internal function for the aggregate -- Internal function for the aggregate
-- Is called for each item in an aggregation -- Is called for each item in an aggregation
......
/* contrib/intagg/int_aggregate--unpackaged--1.0.sql */
ALTER EXTENSION int_aggregate ADD function int_agg_state(internal,integer);
ALTER EXTENSION int_aggregate ADD function int_agg_final_array(internal);
ALTER EXTENSION int_aggregate ADD function int_array_aggregate(integer);
ALTER EXTENSION int_aggregate ADD function int_array_enum(integer[]);
# int_aggregate extension
comment = 'integer aggregator and enumerator (obsolete)'
default_version = '1.0'
relocatable = true
/* contrib/intagg/uninstall_int_aggregate.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP FUNCTION int_array_enum(int4[]);
DROP AGGREGATE int_array_aggregate (int4);
DROP FUNCTION int_agg_final_array (internal);
DROP FUNCTION int_agg_state (internal, int4);
/_int.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
MODULE_big = _int MODULE_big = _int
OBJS = _int_bool.o _int_gist.o _int_op.o _int_tool.o _intbig_gist.o _int_gin.o OBJS = _int_bool.o _int_gist.o _int_op.o _int_tool.o _intbig_gist.o _int_gin.o
DATA_built = _int.sql
DATA = uninstall__int.sql EXTENSION = intarray
DATA = intarray--1.0.sql intarray--unpackaged--1.0.sql
REGRESS = _int REGRESS = _int
ifdef USE_PGXS ifdef USE_PGXS
......
-- CREATE EXTENSION intarray;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of _int.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
SELECT intset(1234); SELECT intset(1234);
intset intset
-------- --------
......
/* contrib/intarray/_int.sql.in */ /* contrib/intarray/intarray--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- --
-- Create the user-defined type for the 1-D integer arrays (_int4) -- Create the user-defined type for the 1-D integer arrays (_int4)
......
/* contrib/intarray/intarray--unpackaged--1.0.sql */
ALTER EXTENSION intarray ADD type query_int;
ALTER EXTENSION intarray ADD function bqarr_in(cstring);
ALTER EXTENSION intarray ADD function bqarr_out(query_int);
ALTER EXTENSION intarray ADD function querytree(query_int);
ALTER EXTENSION intarray ADD function boolop(integer[],query_int);
ALTER EXTENSION intarray ADD function rboolop(query_int,integer[]);
ALTER EXTENSION intarray ADD operator ~~(query_int,integer[]);
ALTER EXTENSION intarray ADD operator @@(integer[],query_int);
ALTER EXTENSION intarray ADD function _int_contains(integer[],integer[]);
ALTER EXTENSION intarray ADD function _int_contained(integer[],integer[]);
ALTER EXTENSION intarray ADD function _int_overlap(integer[],integer[]);
ALTER EXTENSION intarray ADD function _int_same(integer[],integer[]);
ALTER EXTENSION intarray ADD function _int_different(integer[],integer[]);
ALTER EXTENSION intarray ADD function _int_union(integer[],integer[]);
ALTER EXTENSION intarray ADD function _int_inter(integer[],integer[]);
ALTER EXTENSION intarray ADD operator &&(integer[],integer[]);
ALTER EXTENSION intarray ADD operator <@(integer[],integer[]);
ALTER EXTENSION intarray ADD operator @>(integer[],integer[]);
ALTER EXTENSION intarray ADD operator ~(integer[],integer[]);
ALTER EXTENSION intarray ADD operator @(integer[],integer[]);
ALTER EXTENSION intarray ADD function intset(integer);
ALTER EXTENSION intarray ADD function icount(integer[]);
ALTER EXTENSION intarray ADD operator #(NONE,integer[]);
ALTER EXTENSION intarray ADD function sort(integer[],text);
ALTER EXTENSION intarray ADD function sort(integer[]);
ALTER EXTENSION intarray ADD function sort_asc(integer[]);
ALTER EXTENSION intarray ADD function sort_desc(integer[]);
ALTER EXTENSION intarray ADD function uniq(integer[]);
ALTER EXTENSION intarray ADD function idx(integer[],integer);
ALTER EXTENSION intarray ADD operator #(integer[],integer);
ALTER EXTENSION intarray ADD function subarray(integer[],integer,integer);
ALTER EXTENSION intarray ADD function subarray(integer[],integer);
ALTER EXTENSION intarray ADD function intarray_push_elem(integer[],integer);
ALTER EXTENSION intarray ADD operator +(integer[],integer);
ALTER EXTENSION intarray ADD function intarray_push_array(integer[],integer[]);
ALTER EXTENSION intarray ADD operator +(integer[],integer[]);
ALTER EXTENSION intarray ADD function intarray_del_elem(integer[],integer);
ALTER EXTENSION intarray ADD operator -(integer[],integer);
ALTER EXTENSION intarray ADD function intset_union_elem(integer[],integer);
ALTER EXTENSION intarray ADD operator |(integer[],integer);
ALTER EXTENSION intarray ADD operator |(integer[],integer[]);
ALTER EXTENSION intarray ADD function intset_subtract(integer[],integer[]);
ALTER EXTENSION intarray ADD operator -(integer[],integer[]);
ALTER EXTENSION intarray ADD operator &(integer[],integer[]);
ALTER EXTENSION intarray ADD function g_int_consistent(internal,integer[],integer,oid,internal);
ALTER EXTENSION intarray ADD function g_int_compress(internal);
ALTER EXTENSION intarray ADD function g_int_decompress(internal);
ALTER EXTENSION intarray ADD function g_int_penalty(internal,internal,internal);
ALTER EXTENSION intarray ADD function g_int_picksplit(internal,internal);
ALTER EXTENSION intarray ADD function g_int_union(internal,internal);
ALTER EXTENSION intarray ADD function g_int_same(integer[],integer[],internal);
ALTER EXTENSION intarray ADD operator family gist__int_ops using gist;
ALTER EXTENSION intarray ADD operator class gist__int_ops using gist;
ALTER EXTENSION intarray ADD type intbig_gkey;
ALTER EXTENSION intarray ADD function _intbig_in(cstring);
ALTER EXTENSION intarray ADD function _intbig_out(intbig_gkey);
ALTER EXTENSION intarray ADD function g_intbig_consistent(internal,internal,integer,oid,internal);
ALTER EXTENSION intarray ADD function g_intbig_compress(internal);
ALTER EXTENSION intarray ADD function g_intbig_decompress(internal);
ALTER EXTENSION intarray ADD function g_intbig_penalty(internal,internal,internal);
ALTER EXTENSION intarray ADD function g_intbig_picksplit(internal,internal);
ALTER EXTENSION intarray ADD function g_intbig_union(internal,internal);
ALTER EXTENSION intarray ADD function g_intbig_same(internal,internal,internal);
ALTER EXTENSION intarray ADD operator family gist__intbig_ops using gist;
ALTER EXTENSION intarray ADD operator class gist__intbig_ops using gist;
ALTER EXTENSION intarray ADD function ginint4_queryextract(internal,internal,smallint,internal,internal,internal,internal);
ALTER EXTENSION intarray ADD function ginint4_consistent(internal,smallint,internal,integer,internal,internal,internal,internal);
ALTER EXTENSION intarray ADD operator family gin__int_ops using gin;
ALTER EXTENSION intarray ADD operator class gin__int_ops using gin;
# intarray extension
comment = 'functions, operators, and index support for 1-D arrays of integers'
default_version = '1.0'
module_pathname = '$libdir/_int'
relocatable = true
-- CREATE EXTENSION intarray;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of _int.sql.
--
SET client_min_messages = warning;
\set ECHO none
\i _int.sql
\set ECHO all
RESET client_min_messages;
SELECT intset(1234); SELECT intset(1234);
SELECT icount('{1234234,234234}'); SELECT icount('{1234234,234234}');
......
/* contrib/intarray/uninstall__int.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
DROP OPERATOR CLASS gin__int_ops USING gin;
DROP FUNCTION ginint4_queryextract(internal, internal, int2, internal, internal, internal, internal);
DROP FUNCTION ginint4_consistent(internal, int2, internal, int4, internal, internal, internal, internal);
DROP OPERATOR CLASS gist__intbig_ops USING gist;
DROP FUNCTION g_intbig_same(internal, internal, internal);
DROP FUNCTION g_intbig_union(internal, internal);
DROP FUNCTION g_intbig_picksplit(internal, internal);
DROP FUNCTION g_intbig_penalty(internal,internal,internal);
DROP FUNCTION g_intbig_decompress(internal);
DROP FUNCTION g_intbig_compress(internal);
DROP FUNCTION g_intbig_consistent(internal,internal,int,oid,internal);
DROP TYPE intbig_gkey CASCADE;
DROP OPERATOR CLASS gist__int_ops USING gist;
DROP FUNCTION g_int_same(_int4, _int4, internal);
DROP FUNCTION g_int_union(internal, internal);
DROP FUNCTION g_int_picksplit(internal, internal);
DROP FUNCTION g_int_penalty(internal,internal,internal);
DROP FUNCTION g_int_decompress(internal);
DROP FUNCTION g_int_compress(internal);
DROP FUNCTION g_int_consistent(internal,_int4,int,oid,internal);
DROP OPERATOR & (_int4, _int4);
DROP OPERATOR - (_int4, _int4);
DROP FUNCTION intset_subtract(_int4, _int4);
DROP OPERATOR | (_int4, _int4);
DROP OPERATOR | (_int4, int4);
DROP FUNCTION intset_union_elem(_int4, int4);
DROP OPERATOR - (_int4, int4);
DROP FUNCTION intarray_del_elem(_int4, int4);
DROP OPERATOR + (_int4, _int4);
DROP FUNCTION intarray_push_array(_int4, _int4);
DROP OPERATOR + (_int4, int4);
DROP FUNCTION intarray_push_elem(_int4, int4);
DROP FUNCTION subarray(_int4, int4);
DROP FUNCTION subarray(_int4, int4, int4);
DROP OPERATOR # (_int4, int4);
DROP FUNCTION idx(_int4, int4);
DROP FUNCTION uniq(_int4);
DROP FUNCTION sort_desc(_int4);
DROP FUNCTION sort_asc(_int4);
DROP FUNCTION sort(_int4);
DROP FUNCTION sort(_int4, text);
DROP OPERATOR # (NONE, _int4);
DROP FUNCTION icount(_int4);
DROP FUNCTION intset(int4);
DROP OPERATOR <@ (_int4, _int4);
DROP OPERATOR @> (_int4, _int4);
DROP OPERATOR ~ (_int4, _int4);
DROP OPERATOR @ (_int4, _int4);
DROP OPERATOR && (_int4, _int4);
DROP FUNCTION _int_inter(_int4, _int4);
DROP FUNCTION _int_union(_int4, _int4);
DROP FUNCTION _int_different(_int4, _int4);
DROP FUNCTION _int_same(_int4, _int4);
DROP FUNCTION _int_overlap(_int4, _int4);
DROP FUNCTION _int_contained(_int4, _int4);
DROP FUNCTION _int_contains(_int4, _int4);
DROP OPERATOR ~~ (query_int, _int4);
DROP OPERATOR @@ (_int4, query_int);
DROP FUNCTION rboolop(query_int, _int4);
DROP FUNCTION boolop(_int4, query_int);
DROP FUNCTION querytree(query_int);
DROP TYPE query_int CASCADE;
# contrib/isn/Makefile # contrib/isn/Makefile
MODULES = isn MODULES = isn
DATA_built = isn.sql
DATA = uninstall_isn.sql EXTENSION = isn
DATA = isn--1.0.sql isn--unpackaged--1.0.sql
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
/* contrib/isn/isn.sql.in */ /* contrib/isn/isn--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- Example: -- Example:
-- create table test ( id isbn ); -- create table test ( id isbn );
......
/* contrib/isn/isn--unpackaged--1.0.sql */
ALTER EXTENSION isn ADD type ean13;
ALTER EXTENSION isn ADD function ean13_in(cstring);
ALTER EXTENSION isn ADD function ean13_out(ean13);
ALTER EXTENSION isn ADD type isbn13;
ALTER EXTENSION isn ADD function isbn13_in(cstring);
ALTER EXTENSION isn ADD function ean13_out(isbn13);
ALTER EXTENSION isn ADD type ismn13;
ALTER EXTENSION isn ADD function ismn13_in(cstring);
ALTER EXTENSION isn ADD function ean13_out(ismn13);
ALTER EXTENSION isn ADD type issn13;
ALTER EXTENSION isn ADD function issn13_in(cstring);
ALTER EXTENSION isn ADD function ean13_out(issn13);
ALTER EXTENSION isn ADD type isbn;
ALTER EXTENSION isn ADD function isbn_in(cstring);
ALTER EXTENSION isn ADD function isn_out(isbn);
ALTER EXTENSION isn ADD type ismn;
ALTER EXTENSION isn ADD function ismn_in(cstring);
ALTER EXTENSION isn ADD function isn_out(ismn);
ALTER EXTENSION isn ADD type issn;
ALTER EXTENSION isn ADD function issn_in(cstring);
ALTER EXTENSION isn ADD function isn_out(issn);
ALTER EXTENSION isn ADD type upc;
ALTER EXTENSION isn ADD function upc_in(cstring);
ALTER EXTENSION isn ADD function isn_out(upc);
ALTER EXTENSION isn ADD function isnlt(ean13,ean13);
ALTER EXTENSION isn ADD function isnle(ean13,ean13);
ALTER EXTENSION isn ADD function isneq(ean13,ean13);
ALTER EXTENSION isn ADD function isnge(ean13,ean13);
ALTER EXTENSION isn ADD function isngt(ean13,ean13);
ALTER EXTENSION isn ADD function isnne(ean13,ean13);
ALTER EXTENSION isn ADD function isnlt(ean13,isbn13);
ALTER EXTENSION isn ADD function isnle(ean13,isbn13);
ALTER EXTENSION isn ADD function isneq(ean13,isbn13);
ALTER EXTENSION isn ADD function isnge(ean13,isbn13);
ALTER EXTENSION isn ADD function isngt(ean13,isbn13);
ALTER EXTENSION isn ADD function isnne(ean13,isbn13);
ALTER EXTENSION isn ADD function isnlt(ean13,ismn13);
ALTER EXTENSION isn ADD function isnle(ean13,ismn13);
ALTER EXTENSION isn ADD function isneq(ean13,ismn13);
ALTER EXTENSION isn ADD function isnge(ean13,ismn13);
ALTER EXTENSION isn ADD function isngt(ean13,ismn13);
ALTER EXTENSION isn ADD function isnne(ean13,ismn13);
ALTER EXTENSION isn ADD function isnlt(ean13,issn13);
ALTER EXTENSION isn ADD function isnle(ean13,issn13);
ALTER EXTENSION isn ADD function isneq(ean13,issn13);
ALTER EXTENSION isn ADD function isnge(ean13,issn13);
ALTER EXTENSION isn ADD function isngt(ean13,issn13);
ALTER EXTENSION isn ADD function isnne(ean13,issn13);
ALTER EXTENSION isn ADD function isnlt(ean13,isbn);
ALTER EXTENSION isn ADD function isnle(ean13,isbn);
ALTER EXTENSION isn ADD function isneq(ean13,isbn);
ALTER EXTENSION isn ADD function isnge(ean13,isbn);
ALTER EXTENSION isn ADD function isngt(ean13,isbn);
ALTER EXTENSION isn ADD function isnne(ean13,isbn);
ALTER EXTENSION isn ADD function isnlt(ean13,ismn);
ALTER EXTENSION isn ADD function isnle(ean13,ismn);
ALTER EXTENSION isn ADD function isneq(ean13,ismn);
ALTER EXTENSION isn ADD function isnge(ean13,ismn);
ALTER EXTENSION isn ADD function isngt(ean13,ismn);
ALTER EXTENSION isn ADD function isnne(ean13,ismn);
ALTER EXTENSION isn ADD function isnlt(ean13,issn);
ALTER EXTENSION isn ADD function isnle(ean13,issn);
ALTER EXTENSION isn ADD function isneq(ean13,issn);
ALTER EXTENSION isn ADD function isnge(ean13,issn);
ALTER EXTENSION isn ADD function isngt(ean13,issn);
ALTER EXTENSION isn ADD function isnne(ean13,issn);
ALTER EXTENSION isn ADD function isnlt(ean13,upc);
ALTER EXTENSION isn ADD function isnle(ean13,upc);
ALTER EXTENSION isn ADD function isneq(ean13,upc);
ALTER EXTENSION isn ADD function isnge(ean13,upc);
ALTER EXTENSION isn ADD function isngt(ean13,upc);
ALTER EXTENSION isn ADD function isnne(ean13,upc);
ALTER EXTENSION isn ADD function isnlt(isbn13,isbn13);
ALTER EXTENSION isn ADD function isnle(isbn13,isbn13);
ALTER EXTENSION isn ADD function isneq(isbn13,isbn13);
ALTER EXTENSION isn ADD function isnge(isbn13,isbn13);
ALTER EXTENSION isn ADD function isngt(isbn13,isbn13);
ALTER EXTENSION isn ADD function isnne(isbn13,isbn13);
ALTER EXTENSION isn ADD function isnlt(isbn13,isbn);
ALTER EXTENSION isn ADD function isnle(isbn13,isbn);
ALTER EXTENSION isn ADD function isneq(isbn13,isbn);
ALTER EXTENSION isn ADD function isnge(isbn13,isbn);
ALTER EXTENSION isn ADD function isngt(isbn13,isbn);
ALTER EXTENSION isn ADD function isnne(isbn13,isbn);
ALTER EXTENSION isn ADD function isnlt(isbn13,ean13);
ALTER EXTENSION isn ADD function isnle(isbn13,ean13);
ALTER EXTENSION isn ADD function isneq(isbn13,ean13);
ALTER EXTENSION isn ADD function isnge(isbn13,ean13);
ALTER EXTENSION isn ADD function isngt(isbn13,ean13);
ALTER EXTENSION isn ADD function isnne(isbn13,ean13);
ALTER EXTENSION isn ADD function isnlt(isbn,isbn);
ALTER EXTENSION isn ADD function isnle(isbn,isbn);
ALTER EXTENSION isn ADD function isneq(isbn,isbn);
ALTER EXTENSION isn ADD function isnge(isbn,isbn);
ALTER EXTENSION isn ADD function isngt(isbn,isbn);
ALTER EXTENSION isn ADD function isnne(isbn,isbn);
ALTER EXTENSION isn ADD function isnlt(isbn,isbn13);
ALTER EXTENSION isn ADD function isnle(isbn,isbn13);
ALTER EXTENSION isn ADD function isneq(isbn,isbn13);
ALTER EXTENSION isn ADD function isnge(isbn,isbn13);
ALTER EXTENSION isn ADD function isngt(isbn,isbn13);
ALTER EXTENSION isn ADD function isnne(isbn,isbn13);
ALTER EXTENSION isn ADD function isnlt(isbn,ean13);
ALTER EXTENSION isn ADD function isnle(isbn,ean13);
ALTER EXTENSION isn ADD function isneq(isbn,ean13);
ALTER EXTENSION isn ADD function isnge(isbn,ean13);
ALTER EXTENSION isn ADD function isngt(isbn,ean13);
ALTER EXTENSION isn ADD function isnne(isbn,ean13);
ALTER EXTENSION isn ADD function isnlt(ismn13,ismn13);
ALTER EXTENSION isn ADD function isnle(ismn13,ismn13);
ALTER EXTENSION isn ADD function isneq(ismn13,ismn13);
ALTER EXTENSION isn ADD function isnge(ismn13,ismn13);
ALTER EXTENSION isn ADD function isngt(ismn13,ismn13);
ALTER EXTENSION isn ADD function isnne(ismn13,ismn13);
ALTER EXTENSION isn ADD function isnlt(ismn13,ismn);
ALTER EXTENSION isn ADD function isnle(ismn13,ismn);
ALTER EXTENSION isn ADD function isneq(ismn13,ismn);
ALTER EXTENSION isn ADD function isnge(ismn13,ismn);
ALTER EXTENSION isn ADD function isngt(ismn13,ismn);
ALTER EXTENSION isn ADD function isnne(ismn13,ismn);
ALTER EXTENSION isn ADD function isnlt(ismn13,ean13);
ALTER EXTENSION isn ADD function isnle(ismn13,ean13);
ALTER EXTENSION isn ADD function isneq(ismn13,ean13);
ALTER EXTENSION isn ADD function isnge(ismn13,ean13);
ALTER EXTENSION isn ADD function isngt(ismn13,ean13);
ALTER EXTENSION isn ADD function isnne(ismn13,ean13);
ALTER EXTENSION isn ADD function isnlt(ismn,ismn);
ALTER EXTENSION isn ADD function isnle(ismn,ismn);
ALTER EXTENSION isn ADD function isneq(ismn,ismn);
ALTER EXTENSION isn ADD function isnge(ismn,ismn);
ALTER EXTENSION isn ADD function isngt(ismn,ismn);
ALTER EXTENSION isn ADD function isnne(ismn,ismn);
ALTER EXTENSION isn ADD function isnlt(ismn,ismn13);
ALTER EXTENSION isn ADD function isnle(ismn,ismn13);
ALTER EXTENSION isn ADD function isneq(ismn,ismn13);
ALTER EXTENSION isn ADD function isnge(ismn,ismn13);
ALTER EXTENSION isn ADD function isngt(ismn,ismn13);
ALTER EXTENSION isn ADD function isnne(ismn,ismn13);
ALTER EXTENSION isn ADD function isnlt(ismn,ean13);
ALTER EXTENSION isn ADD function isnle(ismn,ean13);
ALTER EXTENSION isn ADD function isneq(ismn,ean13);
ALTER EXTENSION isn ADD function isnge(ismn,ean13);
ALTER EXTENSION isn ADD function isngt(ismn,ean13);
ALTER EXTENSION isn ADD function isnne(ismn,ean13);
ALTER EXTENSION isn ADD function isnlt(issn13,issn13);
ALTER EXTENSION isn ADD function isnle(issn13,issn13);
ALTER EXTENSION isn ADD function isneq(issn13,issn13);
ALTER EXTENSION isn ADD function isnge(issn13,issn13);
ALTER EXTENSION isn ADD function isngt(issn13,issn13);
ALTER EXTENSION isn ADD function isnne(issn13,issn13);
ALTER EXTENSION isn ADD function isnlt(issn13,issn);
ALTER EXTENSION isn ADD function isnle(issn13,issn);
ALTER EXTENSION isn ADD function isneq(issn13,issn);
ALTER EXTENSION isn ADD function isnge(issn13,issn);
ALTER EXTENSION isn ADD function isngt(issn13,issn);
ALTER EXTENSION isn ADD function isnne(issn13,issn);
ALTER EXTENSION isn ADD function isnlt(issn13,ean13);
ALTER EXTENSION isn ADD function isnle(issn13,ean13);
ALTER EXTENSION isn ADD function isneq(issn13,ean13);
ALTER EXTENSION isn ADD function isnge(issn13,ean13);
ALTER EXTENSION isn ADD function isngt(issn13,ean13);
ALTER EXTENSION isn ADD function isnne(issn13,ean13);
ALTER EXTENSION isn ADD function isnlt(issn,issn);
ALTER EXTENSION isn ADD function isnle(issn,issn);
ALTER EXTENSION isn ADD function isneq(issn,issn);
ALTER EXTENSION isn ADD function isnge(issn,issn);
ALTER EXTENSION isn ADD function isngt(issn,issn);
ALTER EXTENSION isn ADD function isnne(issn,issn);
ALTER EXTENSION isn ADD function isnlt(issn,issn13);
ALTER EXTENSION isn ADD function isnle(issn,issn13);
ALTER EXTENSION isn ADD function isneq(issn,issn13);
ALTER EXTENSION isn ADD function isnge(issn,issn13);
ALTER EXTENSION isn ADD function isngt(issn,issn13);
ALTER EXTENSION isn ADD function isnne(issn,issn13);
ALTER EXTENSION isn ADD function isnlt(issn,ean13);
ALTER EXTENSION isn ADD function isnle(issn,ean13);
ALTER EXTENSION isn ADD function isneq(issn,ean13);
ALTER EXTENSION isn ADD function isnge(issn,ean13);
ALTER EXTENSION isn ADD function isngt(issn,ean13);
ALTER EXTENSION isn ADD function isnne(issn,ean13);
ALTER EXTENSION isn ADD function isnlt(upc,upc);
ALTER EXTENSION isn ADD function isnle(upc,upc);
ALTER EXTENSION isn ADD function isneq(upc,upc);
ALTER EXTENSION isn ADD function isnge(upc,upc);
ALTER EXTENSION isn ADD function isngt(upc,upc);
ALTER EXTENSION isn ADD function isnne(upc,upc);
ALTER EXTENSION isn ADD function isnlt(upc,ean13);
ALTER EXTENSION isn ADD function isnle(upc,ean13);
ALTER EXTENSION isn ADD function isneq(upc,ean13);
ALTER EXTENSION isn ADD function isnge(upc,ean13);
ALTER EXTENSION isn ADD function isngt(upc,ean13);
ALTER EXTENSION isn ADD function isnne(upc,ean13);
ALTER EXTENSION isn ADD operator >(ean13,ean13);
ALTER EXTENSION isn ADD operator >=(ean13,ean13);
ALTER EXTENSION isn ADD operator <(ean13,ean13);
ALTER EXTENSION isn ADD operator <=(ean13,ean13);
ALTER EXTENSION isn ADD operator <>(ean13,ean13);
ALTER EXTENSION isn ADD operator =(ean13,ean13);
ALTER EXTENSION isn ADD operator >(isbn13,ean13);
ALTER EXTENSION isn ADD operator >=(ean13,isbn13);
ALTER EXTENSION isn ADD operator <(ean13,isbn13);
ALTER EXTENSION isn ADD operator >=(isbn13,ean13);
ALTER EXTENSION isn ADD operator >(ean13,isbn13);
ALTER EXTENSION isn ADD operator <=(ean13,isbn13);
ALTER EXTENSION isn ADD operator =(isbn13,ean13);
ALTER EXTENSION isn ADD operator <>(ean13,isbn13);
ALTER EXTENSION isn ADD operator =(ean13,isbn13);
ALTER EXTENSION isn ADD operator <=(isbn13,ean13);
ALTER EXTENSION isn ADD operator <(isbn13,ean13);
ALTER EXTENSION isn ADD operator <>(isbn13,ean13);
ALTER EXTENSION isn ADD operator >(ismn13,ean13);
ALTER EXTENSION isn ADD operator >=(ean13,ismn13);
ALTER EXTENSION isn ADD operator <(ean13,ismn13);
ALTER EXTENSION isn ADD operator >=(ismn13,ean13);
ALTER EXTENSION isn ADD operator >(ean13,ismn13);
ALTER EXTENSION isn ADD operator <=(ean13,ismn13);
ALTER EXTENSION isn ADD operator =(ismn13,ean13);
ALTER EXTENSION isn ADD operator <>(ean13,ismn13);
ALTER EXTENSION isn ADD operator =(ean13,ismn13);
ALTER EXTENSION isn ADD operator <=(ismn13,ean13);
ALTER EXTENSION isn ADD operator <(ismn13,ean13);
ALTER EXTENSION isn ADD operator <>(ismn13,ean13);
ALTER EXTENSION isn ADD operator >(issn13,ean13);
ALTER EXTENSION isn ADD operator >=(ean13,issn13);
ALTER EXTENSION isn ADD operator <(ean13,issn13);
ALTER EXTENSION isn ADD operator >=(issn13,ean13);
ALTER EXTENSION isn ADD operator >(ean13,issn13);
ALTER EXTENSION isn ADD operator <=(ean13,issn13);
ALTER EXTENSION isn ADD operator =(issn13,ean13);
ALTER EXTENSION isn ADD operator <>(ean13,issn13);
ALTER EXTENSION isn ADD operator =(ean13,issn13);
ALTER EXTENSION isn ADD operator <=(issn13,ean13);
ALTER EXTENSION isn ADD operator <(issn13,ean13);
ALTER EXTENSION isn ADD operator <>(issn13,ean13);
ALTER EXTENSION isn ADD operator >(isbn,ean13);
ALTER EXTENSION isn ADD operator >=(ean13,isbn);
ALTER EXTENSION isn ADD operator <(ean13,isbn);
ALTER EXTENSION isn ADD operator >=(isbn,ean13);
ALTER EXTENSION isn ADD operator >(ean13,isbn);
ALTER EXTENSION isn ADD operator <=(ean13,isbn);
ALTER EXTENSION isn ADD operator =(isbn,ean13);
ALTER EXTENSION isn ADD operator <>(ean13,isbn);
ALTER EXTENSION isn ADD operator =(ean13,isbn);
ALTER EXTENSION isn ADD operator <=(isbn,ean13);
ALTER EXTENSION isn ADD operator <(isbn,ean13);
ALTER EXTENSION isn ADD operator <>(isbn,ean13);
ALTER EXTENSION isn ADD operator >(ismn,ean13);
ALTER EXTENSION isn ADD operator >=(ean13,ismn);
ALTER EXTENSION isn ADD operator <(ean13,ismn);
ALTER EXTENSION isn ADD operator >=(ismn,ean13);
ALTER EXTENSION isn ADD operator >(ean13,ismn);
ALTER EXTENSION isn ADD operator <=(ean13,ismn);
ALTER EXTENSION isn ADD operator =(ismn,ean13);
ALTER EXTENSION isn ADD operator <>(ean13,ismn);
ALTER EXTENSION isn ADD operator =(ean13,ismn);
ALTER EXTENSION isn ADD operator <=(ismn,ean13);
ALTER EXTENSION isn ADD operator <(ismn,ean13);
ALTER EXTENSION isn ADD operator <>(ismn,ean13);
ALTER EXTENSION isn ADD operator >(issn,ean13);
ALTER EXTENSION isn ADD operator >=(ean13,issn);
ALTER EXTENSION isn ADD operator <(ean13,issn);
ALTER EXTENSION isn ADD operator >=(issn,ean13);
ALTER EXTENSION isn ADD operator >(ean13,issn);
ALTER EXTENSION isn ADD operator <=(ean13,issn);
ALTER EXTENSION isn ADD operator =(issn,ean13);
ALTER EXTENSION isn ADD operator <>(ean13,issn);
ALTER EXTENSION isn ADD operator =(ean13,issn);
ALTER EXTENSION isn ADD operator <=(issn,ean13);
ALTER EXTENSION isn ADD operator <(issn,ean13);
ALTER EXTENSION isn ADD operator <>(issn,ean13);
ALTER EXTENSION isn ADD operator >(upc,ean13);
ALTER EXTENSION isn ADD operator >=(ean13,upc);
ALTER EXTENSION isn ADD operator <(ean13,upc);
ALTER EXTENSION isn ADD operator >=(upc,ean13);
ALTER EXTENSION isn ADD operator >(ean13,upc);
ALTER EXTENSION isn ADD operator <=(ean13,upc);
ALTER EXTENSION isn ADD operator =(upc,ean13);
ALTER EXTENSION isn ADD operator <>(ean13,upc);
ALTER EXTENSION isn ADD operator =(ean13,upc);
ALTER EXTENSION isn ADD operator <=(upc,ean13);
ALTER EXTENSION isn ADD operator <(upc,ean13);
ALTER EXTENSION isn ADD operator <>(upc,ean13);
ALTER EXTENSION isn ADD operator >(isbn13,isbn13);
ALTER EXTENSION isn ADD operator >=(isbn13,isbn13);
ALTER EXTENSION isn ADD operator <(isbn13,isbn13);
ALTER EXTENSION isn ADD operator <=(isbn13,isbn13);
ALTER EXTENSION isn ADD operator <>(isbn13,isbn13);
ALTER EXTENSION isn ADD operator =(isbn13,isbn13);
ALTER EXTENSION isn ADD operator >(isbn,isbn13);
ALTER EXTENSION isn ADD operator >=(isbn13,isbn);
ALTER EXTENSION isn ADD operator <(isbn13,isbn);
ALTER EXTENSION isn ADD operator >=(isbn,isbn13);
ALTER EXTENSION isn ADD operator >(isbn13,isbn);
ALTER EXTENSION isn ADD operator <=(isbn13,isbn);
ALTER EXTENSION isn ADD operator =(isbn,isbn13);
ALTER EXTENSION isn ADD operator <>(isbn13,isbn);
ALTER EXTENSION isn ADD operator =(isbn13,isbn);
ALTER EXTENSION isn ADD operator <=(isbn,isbn13);
ALTER EXTENSION isn ADD operator <(isbn,isbn13);
ALTER EXTENSION isn ADD operator <>(isbn,isbn13);
ALTER EXTENSION isn ADD operator >(isbn,isbn);
ALTER EXTENSION isn ADD operator >=(isbn,isbn);
ALTER EXTENSION isn ADD operator <(isbn,isbn);
ALTER EXTENSION isn ADD operator <=(isbn,isbn);
ALTER EXTENSION isn ADD operator <>(isbn,isbn);
ALTER EXTENSION isn ADD operator =(isbn,isbn);
ALTER EXTENSION isn ADD operator >(ismn13,ismn13);
ALTER EXTENSION isn ADD operator >=(ismn13,ismn13);
ALTER EXTENSION isn ADD operator <(ismn13,ismn13);
ALTER EXTENSION isn ADD operator <=(ismn13,ismn13);
ALTER EXTENSION isn ADD operator <>(ismn13,ismn13);
ALTER EXTENSION isn ADD operator =(ismn13,ismn13);
ALTER EXTENSION isn ADD operator >(ismn,ismn13);
ALTER EXTENSION isn ADD operator >=(ismn13,ismn);
ALTER EXTENSION isn ADD operator <(ismn13,ismn);
ALTER EXTENSION isn ADD operator >=(ismn,ismn13);
ALTER EXTENSION isn ADD operator >(ismn13,ismn);
ALTER EXTENSION isn ADD operator <=(ismn13,ismn);
ALTER EXTENSION isn ADD operator =(ismn,ismn13);
ALTER EXTENSION isn ADD operator <>(ismn13,ismn);
ALTER EXTENSION isn ADD operator =(ismn13,ismn);
ALTER EXTENSION isn ADD operator <=(ismn,ismn13);
ALTER EXTENSION isn ADD operator <(ismn,ismn13);
ALTER EXTENSION isn ADD operator <>(ismn,ismn13);
ALTER EXTENSION isn ADD operator >(ismn,ismn);
ALTER EXTENSION isn ADD operator >=(ismn,ismn);
ALTER EXTENSION isn ADD operator <(ismn,ismn);
ALTER EXTENSION isn ADD operator <=(ismn,ismn);
ALTER EXTENSION isn ADD operator <>(ismn,ismn);
ALTER EXTENSION isn ADD operator =(ismn,ismn);
ALTER EXTENSION isn ADD operator >(issn13,issn13);
ALTER EXTENSION isn ADD operator >=(issn13,issn13);
ALTER EXTENSION isn ADD operator <(issn13,issn13);
ALTER EXTENSION isn ADD operator <=(issn13,issn13);
ALTER EXTENSION isn ADD operator <>(issn13,issn13);
ALTER EXTENSION isn ADD operator =(issn13,issn13);
ALTER EXTENSION isn ADD operator >(issn,issn13);
ALTER EXTENSION isn ADD operator >=(issn13,issn);
ALTER EXTENSION isn ADD operator <(issn13,issn);
ALTER EXTENSION isn ADD operator >=(issn,issn13);
ALTER EXTENSION isn ADD operator >(issn13,issn);
ALTER EXTENSION isn ADD operator <=(issn13,issn);
ALTER EXTENSION isn ADD operator =(issn,issn13);
ALTER EXTENSION isn ADD operator <>(issn13,issn);
ALTER EXTENSION isn ADD operator =(issn13,issn);
ALTER EXTENSION isn ADD operator <=(issn,issn13);
ALTER EXTENSION isn ADD operator <(issn,issn13);
ALTER EXTENSION isn ADD operator <>(issn,issn13);
ALTER EXTENSION isn ADD operator >(issn,issn);
ALTER EXTENSION isn ADD operator >=(issn,issn);
ALTER EXTENSION isn ADD operator <(issn,issn);
ALTER EXTENSION isn ADD operator <=(issn,issn);
ALTER EXTENSION isn ADD operator <>(issn,issn);
ALTER EXTENSION isn ADD operator =(issn,issn);
ALTER EXTENSION isn ADD operator >(upc,upc);
ALTER EXTENSION isn ADD operator >=(upc,upc);
ALTER EXTENSION isn ADD operator <(upc,upc);
ALTER EXTENSION isn ADD operator <=(upc,upc);
ALTER EXTENSION isn ADD operator <>(upc,upc);
ALTER EXTENSION isn ADD operator =(upc,upc);
ALTER EXTENSION isn ADD operator family isn_ops using btree;
ALTER EXTENSION isn ADD operator family isn_ops using hash;
ALTER EXTENSION isn ADD function btean13cmp(ean13,ean13);
ALTER EXTENSION isn ADD operator class ean13_ops using btree;
ALTER EXTENSION isn ADD function hashean13(ean13);
ALTER EXTENSION isn ADD operator class ean13_ops using hash;
ALTER EXTENSION isn ADD function btean13cmp(ean13,isbn13);
ALTER EXTENSION isn ADD function btean13cmp(ean13,ismn13);
ALTER EXTENSION isn ADD function btean13cmp(ean13,issn13);
ALTER EXTENSION isn ADD function btean13cmp(ean13,isbn);
ALTER EXTENSION isn ADD function btean13cmp(ean13,ismn);
ALTER EXTENSION isn ADD function btean13cmp(ean13,issn);
ALTER EXTENSION isn ADD function btean13cmp(ean13,upc);
ALTER EXTENSION isn ADD function btisbn13cmp(isbn13,isbn13);
ALTER EXTENSION isn ADD operator class isbn13_ops using btree;
ALTER EXTENSION isn ADD function hashisbn13(isbn13);
ALTER EXTENSION isn ADD operator class isbn13_ops using hash;
ALTER EXTENSION isn ADD function btisbn13cmp(isbn13,ean13);
ALTER EXTENSION isn ADD function btisbn13cmp(isbn13,isbn);
ALTER EXTENSION isn ADD function btisbncmp(isbn,isbn);
ALTER EXTENSION isn ADD operator class isbn_ops using btree;
ALTER EXTENSION isn ADD function hashisbn(isbn);
ALTER EXTENSION isn ADD operator class isbn_ops using hash;
ALTER EXTENSION isn ADD function btisbncmp(isbn,ean13);
ALTER EXTENSION isn ADD function btisbncmp(isbn,isbn13);
ALTER EXTENSION isn ADD function btismn13cmp(ismn13,ismn13);
ALTER EXTENSION isn ADD operator class ismn13_ops using btree;
ALTER EXTENSION isn ADD function hashismn13(ismn13);
ALTER EXTENSION isn ADD operator class ismn13_ops using hash;
ALTER EXTENSION isn ADD function btismn13cmp(ismn13,ean13);
ALTER EXTENSION isn ADD function btismn13cmp(ismn13,ismn);
ALTER EXTENSION isn ADD function btismncmp(ismn,ismn);
ALTER EXTENSION isn ADD operator class ismn_ops using btree;
ALTER EXTENSION isn ADD function hashismn(ismn);
ALTER EXTENSION isn ADD operator class ismn_ops using hash;
ALTER EXTENSION isn ADD function btismncmp(ismn,ean13);
ALTER EXTENSION isn ADD function btismncmp(ismn,ismn13);
ALTER EXTENSION isn ADD function btissn13cmp(issn13,issn13);
ALTER EXTENSION isn ADD operator class issn13_ops using btree;
ALTER EXTENSION isn ADD function hashissn13(issn13);
ALTER EXTENSION isn ADD operator class issn13_ops using hash;
ALTER EXTENSION isn ADD function btissn13cmp(issn13,ean13);
ALTER EXTENSION isn ADD function btissn13cmp(issn13,issn);
ALTER EXTENSION isn ADD function btissncmp(issn,issn);
ALTER EXTENSION isn ADD operator class issn_ops using btree;
ALTER EXTENSION isn ADD function hashissn(issn);
ALTER EXTENSION isn ADD operator class issn_ops using hash;
ALTER EXTENSION isn ADD function btissncmp(issn,ean13);
ALTER EXTENSION isn ADD function btissncmp(issn,issn13);
ALTER EXTENSION isn ADD function btupccmp(upc,upc);
ALTER EXTENSION isn ADD operator class upc_ops using btree;
ALTER EXTENSION isn ADD function hashupc(upc);
ALTER EXTENSION isn ADD operator class upc_ops using hash;
ALTER EXTENSION isn ADD function btupccmp(upc,ean13);
ALTER EXTENSION isn ADD function isbn13(ean13);
ALTER EXTENSION isn ADD function ismn13(ean13);
ALTER EXTENSION isn ADD function issn13(ean13);
ALTER EXTENSION isn ADD function isbn(ean13);
ALTER EXTENSION isn ADD function ismn(ean13);
ALTER EXTENSION isn ADD function issn(ean13);
ALTER EXTENSION isn ADD function upc(ean13);
ALTER EXTENSION isn ADD cast (ean13 as isbn13);
ALTER EXTENSION isn ADD cast (ean13 as isbn);
ALTER EXTENSION isn ADD cast (ean13 as ismn13);
ALTER EXTENSION isn ADD cast (ean13 as ismn);
ALTER EXTENSION isn ADD cast (ean13 as issn13);
ALTER EXTENSION isn ADD cast (ean13 as issn);
ALTER EXTENSION isn ADD cast (ean13 as upc);
ALTER EXTENSION isn ADD cast (isbn13 as ean13);
ALTER EXTENSION isn ADD cast (isbn as ean13);
ALTER EXTENSION isn ADD cast (ismn13 as ean13);
ALTER EXTENSION isn ADD cast (ismn as ean13);
ALTER EXTENSION isn ADD cast (issn13 as ean13);
ALTER EXTENSION isn ADD cast (issn as ean13);
ALTER EXTENSION isn ADD cast (upc as ean13);
ALTER EXTENSION isn ADD cast (isbn as isbn13);
ALTER EXTENSION isn ADD cast (isbn13 as isbn);
ALTER EXTENSION isn ADD cast (ismn as ismn13);
ALTER EXTENSION isn ADD cast (ismn13 as ismn);
ALTER EXTENSION isn ADD cast (issn as issn13);
ALTER EXTENSION isn ADD cast (issn13 as issn);
ALTER EXTENSION isn ADD function make_valid(ean13);
ALTER EXTENSION isn ADD function make_valid(isbn13);
ALTER EXTENSION isn ADD function make_valid(ismn13);
ALTER EXTENSION isn ADD function make_valid(issn13);
ALTER EXTENSION isn ADD function make_valid(isbn);
ALTER EXTENSION isn ADD function make_valid(ismn);
ALTER EXTENSION isn ADD function make_valid(issn);
ALTER EXTENSION isn ADD function make_valid(upc);
ALTER EXTENSION isn ADD function is_valid(ean13);
ALTER EXTENSION isn ADD function is_valid(isbn13);
ALTER EXTENSION isn ADD function is_valid(ismn13);
ALTER EXTENSION isn ADD function is_valid(issn13);
ALTER EXTENSION isn ADD function is_valid(isbn);
ALTER EXTENSION isn ADD function is_valid(ismn);
ALTER EXTENSION isn ADD function is_valid(issn);
ALTER EXTENSION isn ADD function is_valid(upc);
ALTER EXTENSION isn ADD function isn_weak(boolean);
ALTER EXTENSION isn ADD function isn_weak();
# isn extension
comment = 'data types for international product numbering standards'
default_version = '1.0'
module_pathname = '$libdir/isn'
relocatable = true
/* contrib/isn/uninstall_isn.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
-- Drop the operator families (which don't depend on the types)
DROP OPERATOR FAMILY isn_ops USING btree CASCADE;
DROP OPERATOR FAMILY isn_ops USING hash CASCADE;
--
-- Drop the actual types (in cascade):
--
DROP TYPE ean13 CASCADE;
DROP TYPE isbn13 CASCADE;
DROP TYPE ismn13 CASCADE;
DROP TYPE issn13 CASCADE;
DROP TYPE isbn CASCADE;
DROP TYPE ismn CASCADE;
DROP TYPE issn CASCADE;
DROP TYPE upc CASCADE;
-- and clean up a couple miscellaneous functions
DROP FUNCTION isn_weak();
DROP FUNCTION isn_weak(boolean);
# contrib/lo/Makefile # contrib/lo/Makefile
MODULES = lo MODULES = lo
DATA_built = lo.sql
DATA = uninstall_lo.sql EXTENSION = lo
DATA = lo--1.0.sql lo--unpackaged--1.0.sql
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
/* contrib/lo/lo.sql.in */ /* contrib/lo/lo--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- --
-- Create the data type ... now just a domain over OID -- Create the data type ... now just a domain over OID
......
/* contrib/lo/lo--unpackaged--1.0.sql */
ALTER EXTENSION lo ADD domain lo;
ALTER EXTENSION lo ADD function lo_oid(lo);
ALTER EXTENSION lo ADD function lo_manage();
# lo extension
comment = 'Large Object maintenance'
default_version = '1.0'
module_pathname = '$libdir/lo'
relocatable = true
/* contrib/lo/uninstall_lo.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
--
-- This removes the LO type
-- It's used just for development
--
-- drop the type and associated functions
DROP TYPE lo CASCADE;
-- the trigger function has no dependency on the type, so drop separately
DROP FUNCTION lo_manage();
-- the lo stuff is now removed from the system
/ltree.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
# contrib/ltree/Makefile # contrib/ltree/Makefile
PG_CPPFLAGS = -DLOWER_NODE
MODULE_big = ltree MODULE_big = ltree
OBJS = ltree_io.o ltree_op.o lquery_op.o _ltree_op.o crc32.o \ OBJS = ltree_io.o ltree_op.o lquery_op.o _ltree_op.o crc32.o \
ltxtquery_io.o ltxtquery_op.o ltree_gist.o _ltree_gist.o ltxtquery_io.o ltxtquery_op.o ltree_gist.o _ltree_gist.o
DATA_built = ltree.sql PG_CPPFLAGS = -DLOWER_NODE
DATA = uninstall_ltree.sql
EXTENSION = ltree
DATA = ltree--1.0.sql ltree--unpackaged--1.0.sql
REGRESS = ltree REGRESS = ltree
ifdef USE_PGXS ifdef USE_PGXS
......
-- CREATE EXTENSION ltree;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of ltree.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
SELECT ''::ltree; SELECT ''::ltree;
ltree ltree
------- -------
......
/* contrib/ltree/ltree.sql.in */ /* contrib/ltree/ltree--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION ltree_in(cstring) CREATE OR REPLACE FUNCTION ltree_in(cstring)
RETURNS ltree RETURNS ltree
......
/* contrib/ltree/ltree--unpackaged--1.0.sql */
ALTER EXTENSION ltree ADD type ltree;
ALTER EXTENSION ltree ADD function ltree_in(cstring);
ALTER EXTENSION ltree ADD function ltree_out(ltree);
ALTER EXTENSION ltree ADD function ltree_cmp(ltree,ltree);
ALTER EXTENSION ltree ADD function ltree_lt(ltree,ltree);
ALTER EXTENSION ltree ADD function ltree_le(ltree,ltree);
ALTER EXTENSION ltree ADD function ltree_eq(ltree,ltree);
ALTER EXTENSION ltree ADD function ltree_ge(ltree,ltree);
ALTER EXTENSION ltree ADD function ltree_gt(ltree,ltree);
ALTER EXTENSION ltree ADD function ltree_ne(ltree,ltree);
ALTER EXTENSION ltree ADD operator >(ltree,ltree);
ALTER EXTENSION ltree ADD operator >=(ltree,ltree);
ALTER EXTENSION ltree ADD operator <(ltree,ltree);
ALTER EXTENSION ltree ADD operator <=(ltree,ltree);
ALTER EXTENSION ltree ADD operator <>(ltree,ltree);
ALTER EXTENSION ltree ADD operator =(ltree,ltree);
ALTER EXTENSION ltree ADD function subltree(ltree,integer,integer);
ALTER EXTENSION ltree ADD function subpath(ltree,integer,integer);
ALTER EXTENSION ltree ADD function subpath(ltree,integer);
ALTER EXTENSION ltree ADD function index(ltree,ltree);
ALTER EXTENSION ltree ADD function index(ltree,ltree,integer);
ALTER EXTENSION ltree ADD function nlevel(ltree);
ALTER EXTENSION ltree ADD function ltree2text(ltree);
ALTER EXTENSION ltree ADD function text2ltree(text);
ALTER EXTENSION ltree ADD function lca(ltree[]);
ALTER EXTENSION ltree ADD function lca(ltree,ltree);
ALTER EXTENSION ltree ADD function lca(ltree,ltree,ltree);
ALTER EXTENSION ltree ADD function lca(ltree,ltree,ltree,ltree);
ALTER EXTENSION ltree ADD function lca(ltree,ltree,ltree,ltree,ltree);
ALTER EXTENSION ltree ADD function lca(ltree,ltree,ltree,ltree,ltree,ltree);
ALTER EXTENSION ltree ADD function lca(ltree,ltree,ltree,ltree,ltree,ltree,ltree);
ALTER EXTENSION ltree ADD function lca(ltree,ltree,ltree,ltree,ltree,ltree,ltree,ltree);
ALTER EXTENSION ltree ADD function ltree_isparent(ltree,ltree);
ALTER EXTENSION ltree ADD function ltree_risparent(ltree,ltree);
ALTER EXTENSION ltree ADD function ltree_addltree(ltree,ltree);
ALTER EXTENSION ltree ADD function ltree_addtext(ltree,text);
ALTER EXTENSION ltree ADD function ltree_textadd(text,ltree);
ALTER EXTENSION ltree ADD function ltreeparentsel(internal,oid,internal,integer);
ALTER EXTENSION ltree ADD operator <@(ltree,ltree);
ALTER EXTENSION ltree ADD operator @>(ltree,ltree);
ALTER EXTENSION ltree ADD operator ^<@(ltree,ltree);
ALTER EXTENSION ltree ADD operator ^@>(ltree,ltree);
ALTER EXTENSION ltree ADD operator ||(ltree,ltree);
ALTER EXTENSION ltree ADD operator ||(ltree,text);
ALTER EXTENSION ltree ADD operator ||(text,ltree);
ALTER EXTENSION ltree ADD operator family ltree_ops using btree;
ALTER EXTENSION ltree ADD operator class ltree_ops using btree;
ALTER EXTENSION ltree ADD type lquery;
ALTER EXTENSION ltree ADD function lquery_in(cstring);
ALTER EXTENSION ltree ADD function lquery_out(lquery);
ALTER EXTENSION ltree ADD function ltq_regex(ltree,lquery);
ALTER EXTENSION ltree ADD function ltq_rregex(lquery,ltree);
ALTER EXTENSION ltree ADD operator ~(lquery,ltree);
ALTER EXTENSION ltree ADD operator ~(ltree,lquery);
ALTER EXTENSION ltree ADD operator ^~(lquery,ltree);
ALTER EXTENSION ltree ADD operator ^~(ltree,lquery);
ALTER EXTENSION ltree ADD function lt_q_regex(ltree,lquery[]);
ALTER EXTENSION ltree ADD function lt_q_rregex(lquery[],ltree);
ALTER EXTENSION ltree ADD operator ?(lquery[],ltree);
ALTER EXTENSION ltree ADD operator ?(ltree,lquery[]);
ALTER EXTENSION ltree ADD operator ^?(lquery[],ltree);
ALTER EXTENSION ltree ADD operator ^?(ltree,lquery[]);
ALTER EXTENSION ltree ADD type ltxtquery;
ALTER EXTENSION ltree ADD function ltxtq_in(cstring);
ALTER EXTENSION ltree ADD function ltxtq_out(ltxtquery);
ALTER EXTENSION ltree ADD function ltxtq_exec(ltree,ltxtquery);
ALTER EXTENSION ltree ADD function ltxtq_rexec(ltxtquery,ltree);
ALTER EXTENSION ltree ADD operator @(ltxtquery,ltree);
ALTER EXTENSION ltree ADD operator @(ltree,ltxtquery);
ALTER EXTENSION ltree ADD operator ^@(ltxtquery,ltree);
ALTER EXTENSION ltree ADD operator ^@(ltree,ltxtquery);
ALTER EXTENSION ltree ADD type ltree_gist;
ALTER EXTENSION ltree ADD function ltree_gist_in(cstring);
ALTER EXTENSION ltree ADD function ltree_gist_out(ltree_gist);
ALTER EXTENSION ltree ADD function ltree_consistent(internal,internal,smallint,oid,internal);
ALTER EXTENSION ltree ADD function ltree_compress(internal);
ALTER EXTENSION ltree ADD function ltree_decompress(internal);
ALTER EXTENSION ltree ADD function ltree_penalty(internal,internal,internal);
ALTER EXTENSION ltree ADD function ltree_picksplit(internal,internal);
ALTER EXTENSION ltree ADD function ltree_union(internal,internal);
ALTER EXTENSION ltree ADD function ltree_same(internal,internal,internal);
ALTER EXTENSION ltree ADD operator family gist_ltree_ops using gist;
ALTER EXTENSION ltree ADD operator class gist_ltree_ops using gist;
ALTER EXTENSION ltree ADD function _ltree_isparent(ltree[],ltree);
ALTER EXTENSION ltree ADD function _ltree_r_isparent(ltree,ltree[]);
ALTER EXTENSION ltree ADD function _ltree_risparent(ltree[],ltree);
ALTER EXTENSION ltree ADD function _ltree_r_risparent(ltree,ltree[]);
ALTER EXTENSION ltree ADD function _ltq_regex(ltree[],lquery);
ALTER EXTENSION ltree ADD function _ltq_rregex(lquery,ltree[]);
ALTER EXTENSION ltree ADD function _lt_q_regex(ltree[],lquery[]);
ALTER EXTENSION ltree ADD function _lt_q_rregex(lquery[],ltree[]);
ALTER EXTENSION ltree ADD function _ltxtq_exec(ltree[],ltxtquery);
ALTER EXTENSION ltree ADD function _ltxtq_rexec(ltxtquery,ltree[]);
ALTER EXTENSION ltree ADD operator <@(ltree,ltree[]);
ALTER EXTENSION ltree ADD operator @>(ltree[],ltree);
ALTER EXTENSION ltree ADD operator @>(ltree,ltree[]);
ALTER EXTENSION ltree ADD operator <@(ltree[],ltree);
ALTER EXTENSION ltree ADD operator ~(lquery,ltree[]);
ALTER EXTENSION ltree ADD operator ~(ltree[],lquery);
ALTER EXTENSION ltree ADD operator ?(lquery[],ltree[]);
ALTER EXTENSION ltree ADD operator ?(ltree[],lquery[]);
ALTER EXTENSION ltree ADD operator @(ltxtquery,ltree[]);
ALTER EXTENSION ltree ADD operator @(ltree[],ltxtquery);
ALTER EXTENSION ltree ADD operator ^<@(ltree,ltree[]);
ALTER EXTENSION ltree ADD operator ^@>(ltree[],ltree);
ALTER EXTENSION ltree ADD operator ^@>(ltree,ltree[]);
ALTER EXTENSION ltree ADD operator ^<@(ltree[],ltree);
ALTER EXTENSION ltree ADD operator ^~(lquery,ltree[]);
ALTER EXTENSION ltree ADD operator ^~(ltree[],lquery);
ALTER EXTENSION ltree ADD operator ^?(lquery[],ltree[]);
ALTER EXTENSION ltree ADD operator ^?(ltree[],lquery[]);
ALTER EXTENSION ltree ADD operator ^@(ltxtquery,ltree[]);
ALTER EXTENSION ltree ADD operator ^@(ltree[],ltxtquery);
ALTER EXTENSION ltree ADD function _ltree_extract_isparent(ltree[],ltree);
ALTER EXTENSION ltree ADD operator ?@>(ltree[],ltree);
ALTER EXTENSION ltree ADD function _ltree_extract_risparent(ltree[],ltree);
ALTER EXTENSION ltree ADD operator ?<@(ltree[],ltree);
ALTER EXTENSION ltree ADD function _ltq_extract_regex(ltree[],lquery);
ALTER EXTENSION ltree ADD operator ?~(ltree[],lquery);
ALTER EXTENSION ltree ADD function _ltxtq_extract_exec(ltree[],ltxtquery);
ALTER EXTENSION ltree ADD operator ?@(ltree[],ltxtquery);
ALTER EXTENSION ltree ADD function _ltree_consistent(internal,internal,smallint,oid,internal);
ALTER EXTENSION ltree ADD function _ltree_compress(internal);
ALTER EXTENSION ltree ADD function _ltree_penalty(internal,internal,internal);
ALTER EXTENSION ltree ADD function _ltree_picksplit(internal,internal);
ALTER EXTENSION ltree ADD function _ltree_union(internal,internal);
ALTER EXTENSION ltree ADD function _ltree_same(internal,internal,internal);
ALTER EXTENSION ltree ADD operator family gist__ltree_ops using gist;
ALTER EXTENSION ltree ADD operator class gist__ltree_ops using gist;
# ltree extension
comment = 'data type for hierarchical tree-like structures'
default_version = '1.0'
module_pathname = '$libdir/ltree'
relocatable = true
-- CREATE EXTENSION ltree;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of ltree.sql.
--
SET client_min_messages = warning;
\set ECHO none
\i ltree.sql
\set ECHO all
RESET client_min_messages;
SELECT ''::ltree; SELECT ''::ltree;
SELECT '1'::ltree; SELECT '1'::ltree;
......
/* contrib/ltree/uninstall_ltree.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP OPERATOR CLASS gist__ltree_ops USING gist;
DROP FUNCTION _ltree_same(internal, internal, internal);
DROP FUNCTION _ltree_union(internal, internal);
DROP FUNCTION _ltree_picksplit(internal, internal);
DROP FUNCTION _ltree_penalty(internal,internal,internal);
DROP FUNCTION _ltree_compress(internal);
DROP FUNCTION _ltree_consistent(internal,internal,int2,oid,internal);
DROP OPERATOR ?@ (_ltree, ltxtquery);
DROP FUNCTION _ltxtq_extract_exec(_ltree,ltxtquery);
DROP OPERATOR ?~ (_ltree, lquery);
DROP FUNCTION _ltq_extract_regex(_ltree,lquery);
DROP OPERATOR ?<@ (_ltree, ltree);
DROP FUNCTION _ltree_extract_risparent(_ltree,ltree);
DROP OPERATOR ?@> (_ltree, ltree);
DROP FUNCTION _ltree_extract_isparent(_ltree,ltree);
DROP OPERATOR ^@ (ltxtquery, _ltree);
DROP OPERATOR ^@ (_ltree, ltxtquery);
DROP OPERATOR ^? (_lquery, _ltree);
DROP OPERATOR ^? (_ltree, _lquery);
DROP OPERATOR ^~ (lquery, _ltree);
DROP OPERATOR ^~ (_ltree, lquery);
DROP OPERATOR ^@> (ltree, _ltree);
DROP OPERATOR ^<@ (_ltree, ltree);
DROP OPERATOR ^<@ (ltree, _ltree);
DROP OPERATOR ^@> (_ltree, ltree);
DROP OPERATOR @ (ltxtquery, _ltree);
DROP OPERATOR @ (_ltree, ltxtquery);
DROP OPERATOR ? (_lquery, _ltree);
DROP OPERATOR ? (_ltree, _lquery);
DROP OPERATOR ~ (lquery, _ltree);
DROP OPERATOR ~ (_ltree, lquery);
DROP OPERATOR @> (ltree, _ltree);
DROP OPERATOR <@ (_ltree, ltree);
DROP OPERATOR <@ (ltree, _ltree);
DROP OPERATOR @> (_ltree, ltree);
DROP FUNCTION _ltxtq_rexec(ltxtquery, _ltree);
DROP FUNCTION _ltxtq_exec(_ltree, ltxtquery);
DROP FUNCTION _lt_q_rregex(_lquery,_ltree);
DROP FUNCTION _lt_q_regex(_ltree,_lquery);
DROP FUNCTION _ltq_rregex(lquery,_ltree);
DROP FUNCTION _ltq_regex(_ltree,lquery);
DROP FUNCTION _ltree_r_risparent(ltree,_ltree);
DROP FUNCTION _ltree_risparent(_ltree,ltree);
DROP FUNCTION _ltree_r_isparent(ltree,_ltree);
DROP FUNCTION _ltree_isparent(_ltree,ltree);
DROP OPERATOR CLASS gist_ltree_ops USING gist;
DROP FUNCTION ltree_same(internal, internal, internal);
DROP FUNCTION ltree_union(internal, internal);
DROP FUNCTION ltree_picksplit(internal, internal);
DROP FUNCTION ltree_penalty(internal,internal,internal);
DROP FUNCTION ltree_decompress(internal);
DROP FUNCTION ltree_compress(internal);
DROP FUNCTION ltree_consistent(internal,internal,int2,oid,internal);
DROP TYPE ltree_gist CASCADE;
DROP OPERATOR ^@ (ltxtquery, ltree);
DROP OPERATOR ^@ (ltree, ltxtquery);
DROP OPERATOR @ (ltxtquery, ltree);
DROP OPERATOR @ (ltree, ltxtquery);
DROP FUNCTION ltxtq_rexec(ltxtquery, ltree);
DROP FUNCTION ltxtq_exec(ltree, ltxtquery);
DROP TYPE ltxtquery CASCADE;
DROP OPERATOR ^? (_lquery, ltree);
DROP OPERATOR ^? (ltree, _lquery);
DROP OPERATOR ? (_lquery, ltree);
DROP OPERATOR ? (ltree, _lquery);
DROP FUNCTION lt_q_rregex(_lquery,ltree);
DROP FUNCTION lt_q_regex(ltree,_lquery);
DROP OPERATOR ^~ (lquery, ltree);
DROP OPERATOR ^~ (ltree, lquery);
DROP OPERATOR ~ (lquery, ltree);
DROP OPERATOR ~ (ltree, lquery);
DROP FUNCTION ltq_rregex(lquery,ltree);
DROP FUNCTION ltq_regex(ltree,lquery);
DROP TYPE lquery CASCADE;
DROP OPERATOR CLASS ltree_ops USING btree;
DROP OPERATOR || (text, ltree);
DROP OPERATOR || (ltree, text);
DROP OPERATOR || (ltree, ltree);
DROP OPERATOR ^<@ (ltree, ltree);
DROP OPERATOR <@ (ltree, ltree);
DROP OPERATOR ^@> (ltree, ltree);
DROP OPERATOR @> (ltree, ltree);
DROP FUNCTION ltreeparentsel(internal, oid, internal, integer);
DROP FUNCTION ltree_textadd(text,ltree);
DROP FUNCTION ltree_addtext(ltree,text);
DROP FUNCTION ltree_addltree(ltree,ltree);
DROP FUNCTION ltree_risparent(ltree,ltree);
DROP FUNCTION ltree_isparent(ltree,ltree);
DROP FUNCTION lca(ltree,ltree,ltree,ltree,ltree,ltree,ltree,ltree);
DROP FUNCTION lca(ltree,ltree,ltree,ltree,ltree,ltree,ltree);
DROP FUNCTION lca(ltree,ltree,ltree,ltree,ltree,ltree);
DROP FUNCTION lca(ltree,ltree,ltree,ltree,ltree);
DROP FUNCTION lca(ltree,ltree,ltree,ltree);
DROP FUNCTION lca(ltree,ltree,ltree);
DROP FUNCTION lca(ltree,ltree);
DROP FUNCTION lca(_ltree);
DROP FUNCTION text2ltree(text);
DROP FUNCTION ltree2text(ltree);
DROP FUNCTION nlevel(ltree);
DROP FUNCTION index(ltree,ltree,int4);
DROP FUNCTION index(ltree,ltree);
DROP FUNCTION subpath(ltree,int4);
DROP FUNCTION subpath(ltree,int4,int4);
DROP FUNCTION subltree(ltree,int4,int4);
DROP OPERATOR <> (ltree, ltree);
DROP OPERATOR = (ltree, ltree);
DROP OPERATOR > (ltree, ltree);
DROP OPERATOR >= (ltree, ltree);
DROP OPERATOR <= (ltree, ltree);
DROP OPERATOR < (ltree, ltree);
DROP FUNCTION ltree_ne(ltree,ltree);
DROP FUNCTION ltree_gt(ltree,ltree);
DROP FUNCTION ltree_ge(ltree,ltree);
DROP FUNCTION ltree_eq(ltree,ltree);
DROP FUNCTION ltree_le(ltree,ltree);
DROP FUNCTION ltree_lt(ltree,ltree);
DROP FUNCTION ltree_cmp(ltree,ltree);
DROP TYPE ltree CASCADE;
#-------------------------------------------------------------------------
#
# pageinspect Makefile
#
# contrib/pageinspect/Makefile # contrib/pageinspect/Makefile
#
#-------------------------------------------------------------------------
MODULE_big = pageinspect MODULE_big = pageinspect
OBJS = rawpage.o heapfuncs.o btreefuncs.o fsmfuncs.o OBJS = rawpage.o heapfuncs.o btreefuncs.o fsmfuncs.o
DATA_built = pageinspect.sql
DATA = uninstall_pageinspect.sql EXTENSION = pageinspect
DATA = pageinspect--1.0.sql pageinspect--unpackaged--1.0.sql
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
/* contrib/pageinspect/pageinspect.sql.in */ /* contrib/pageinspect/pageinspect--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- --
-- get_raw_page() -- get_raw_page()
......
/* contrib/pageinspect/pageinspect--unpackaged--1.0.sql */
ALTER EXTENSION pageinspect ADD function get_raw_page(text,integer);
ALTER EXTENSION pageinspect ADD function get_raw_page(text,text,integer);
ALTER EXTENSION pageinspect ADD function page_header(bytea);
ALTER EXTENSION pageinspect ADD function heap_page_items(bytea);
ALTER EXTENSION pageinspect ADD function bt_metap(text);
ALTER EXTENSION pageinspect ADD function bt_page_stats(text,integer);
ALTER EXTENSION pageinspect ADD function bt_page_items(text,integer);
ALTER EXTENSION pageinspect ADD function fsm_page_contents(bytea);
# pageinspect extension
comment = 'inspect the contents of database pages at a low level'
default_version = '1.0'
module_pathname = '$libdir/pageinspect'
relocatable = true
/* contrib/pageinspect/uninstall_pageinspect.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP FUNCTION get_raw_page(text, int4);
DROP FUNCTION get_raw_page(text, text, int4);
DROP FUNCTION page_header(bytea);
DROP FUNCTION heap_page_items(bytea);
DROP FUNCTION bt_metap(text);
DROP FUNCTION bt_page_stats(text, int4);
DROP FUNCTION bt_page_items(text, int4);
DROP FUNCTION fsm_page_contents(bytea);
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
MODULE_big = pg_buffercache MODULE_big = pg_buffercache
OBJS = pg_buffercache_pages.o OBJS = pg_buffercache_pages.o
DATA_built = pg_buffercache.sql EXTENSION = pg_buffercache
DATA = uninstall_pg_buffercache.sql DATA = pg_buffercache--1.0.sql pg_buffercache--unpackaged--1.0.sql
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
/* contrib/pg_buffercache/pg_buffercache.sql.in */ /* contrib/pg_buffercache/pg_buffercache--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- Register the function. -- Register the function.
CREATE OR REPLACE FUNCTION pg_buffercache_pages() CREATE OR REPLACE FUNCTION pg_buffercache_pages()
...@@ -15,6 +12,6 @@ CREATE VIEW pg_buffercache AS ...@@ -15,6 +12,6 @@ CREATE VIEW pg_buffercache AS
(bufferid integer, relfilenode oid, reltablespace oid, reldatabase oid, (bufferid integer, relfilenode oid, reltablespace oid, reldatabase oid,
relforknumber int2, relblocknumber int8, isdirty bool, usagecount int2); relforknumber int2, relblocknumber int8, isdirty bool, usagecount int2);
-- Don't want these to be available at public. -- Don't want these to be available to public.
REVOKE ALL ON FUNCTION pg_buffercache_pages() FROM PUBLIC; REVOKE ALL ON FUNCTION pg_buffercache_pages() FROM PUBLIC;
REVOKE ALL ON pg_buffercache FROM PUBLIC; REVOKE ALL ON pg_buffercache FROM PUBLIC;
/* contrib/pg_buffercache/pg_buffercache--unpackaged--1.0.sql */
ALTER EXTENSION pg_buffercache ADD function pg_buffercache_pages();
ALTER EXTENSION pg_buffercache ADD view pg_buffercache;
# pg_buffercache extension
comment = 'examine the shared buffer cache'
default_version = '1.0'
module_pathname = '$libdir/pg_buffercache'
relocatable = true
/* contrib/pg_buffercache/uninstall_pg_buffercache.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP VIEW pg_buffercache;
DROP FUNCTION pg_buffercache_pages();
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
MODULE_big = pg_freespacemap MODULE_big = pg_freespacemap
OBJS = pg_freespacemap.o OBJS = pg_freespacemap.o
DATA_built = pg_freespacemap.sql EXTENSION = pg_freespacemap
DATA = uninstall_pg_freespacemap.sql DATA = pg_freespacemap--1.0.sql pg_freespacemap--unpackaged--1.0.sql
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
/* contrib/pg_freespacemap/pg_freespacemap.sql.in */ /* contrib/pg_freespacemap/pg_freespacemap--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- Register the C function. -- Register the C function.
CREATE OR REPLACE FUNCTION pg_freespace(regclass, bigint) CREATE OR REPLACE FUNCTION pg_freespace(regclass, bigint)
......
/* contrib/pg_freespacemap/pg_freespacemap--unpackaged--1.0.sql */
ALTER EXTENSION pg_freespacemap ADD function pg_freespace(regclass,bigint);
ALTER EXTENSION pg_freespacemap ADD function pg_freespace(regclass);
# pg_freespacemap extension
comment = 'examine the free space map (FSM)'
default_version = '1.0'
module_pathname = '$libdir/pg_freespacemap'
relocatable = true
/* contrib/pg_freespacemap/uninstall_pg_freespacemap.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP FUNCTION pg_freespace(regclass, bigint);
DROP FUNCTION pg_freespace(regclass);
# contrib/pg_stat_statements/Makefile # contrib/pg_stat_statements/Makefile
MODULE_big = pg_stat_statements MODULE_big = pg_stat_statements
DATA_built = pg_stat_statements.sql
DATA = uninstall_pg_stat_statements.sql
OBJS = pg_stat_statements.o OBJS = pg_stat_statements.o
EXTENSION = pg_stat_statements
DATA = pg_stat_statements--1.0.sql pg_stat_statements--unpackaged--1.0.sql
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs) PGXS := $(shell $(PG_CONFIG) --pgxs)
......
/* contrib/pg_stat_statements/pg_stat_statements.sql.in */ /* contrib/pg_stat_statements/pg_stat_statements--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- Register functions. -- Register functions.
CREATE FUNCTION pg_stat_statements_reset() CREATE FUNCTION pg_stat_statements_reset()
......
/* contrib/pg_stat_statements/pg_stat_statements--unpackaged--1.0.sql */
ALTER EXTENSION pg_stat_statements ADD function pg_stat_statements_reset();
ALTER EXTENSION pg_stat_statements ADD function pg_stat_statements();
ALTER EXTENSION pg_stat_statements ADD view pg_stat_statements;
# pg_stat_statements extension
comment = 'track execution statistics of all SQL statements executed'
default_version = '1.0'
module_pathname = '$libdir/pg_stat_statements'
relocatable = true
/* contrib/pg_stat_statements/uninstall_pg_stat_statements.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP VIEW pg_stat_statements;
DROP FUNCTION pg_stat_statements();
DROP FUNCTION pg_stat_statements_reset();
#
# Makefile for pg_test_fsync
#
# contrib/pg_test_fsync/Makefile # contrib/pg_test_fsync/Makefile
PGFILEDESC = "pg_test_fsync - test various disk sync methods" PGFILEDESC = "pg_test_fsync - test various disk sync methods"
......
/pg_trgm.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
MODULE_big = pg_trgm MODULE_big = pg_trgm
OBJS = trgm_op.o trgm_gist.o trgm_gin.o OBJS = trgm_op.o trgm_gist.o trgm_gin.o
DATA_built = pg_trgm.sql EXTENSION = pg_trgm
DATA = uninstall_pg_trgm.sql DATA = pg_trgm--1.0.sql pg_trgm--unpackaged--1.0.sql
REGRESS = pg_trgm REGRESS = pg_trgm
ifdef USE_PGXS ifdef USE_PGXS
......
-- CREATE EXTENSION pg_trgm;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of pg_tgrm.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
select show_trgm(''); select show_trgm('');
show_trgm show_trgm
----------- -----------
......
/* contrib/pg_trgm/pg_trgm.sql.in */ /* contrib/pg_trgm/pg_trgm--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION set_limit(float4) CREATE OR REPLACE FUNCTION set_limit(float4)
RETURNS float4 RETURNS float4
......
/* contrib/pg_trgm/pg_trgm--unpackaged--1.0.sql */
ALTER EXTENSION pg_trgm ADD function set_limit(real);
ALTER EXTENSION pg_trgm ADD function show_limit();
ALTER EXTENSION pg_trgm ADD function show_trgm(text);
ALTER EXTENSION pg_trgm ADD function similarity(text,text);
ALTER EXTENSION pg_trgm ADD function similarity_op(text,text);
ALTER EXTENSION pg_trgm ADD operator %(text,text);
ALTER EXTENSION pg_trgm ADD function similarity_dist(text,text);
ALTER EXTENSION pg_trgm ADD operator <->(text,text);
ALTER EXTENSION pg_trgm ADD type gtrgm;
ALTER EXTENSION pg_trgm ADD function gtrgm_in(cstring);
ALTER EXTENSION pg_trgm ADD function gtrgm_out(gtrgm);
ALTER EXTENSION pg_trgm ADD function gtrgm_consistent(internal,text,integer,oid,internal);
ALTER EXTENSION pg_trgm ADD function gtrgm_distance(internal,text,integer,oid);
ALTER EXTENSION pg_trgm ADD function gtrgm_compress(internal);
ALTER EXTENSION pg_trgm ADD function gtrgm_decompress(internal);
ALTER EXTENSION pg_trgm ADD function gtrgm_penalty(internal,internal,internal);
ALTER EXTENSION pg_trgm ADD function gtrgm_picksplit(internal,internal);
ALTER EXTENSION pg_trgm ADD function gtrgm_union(bytea,internal);
ALTER EXTENSION pg_trgm ADD function gtrgm_same(gtrgm,gtrgm,internal);
ALTER EXTENSION pg_trgm ADD operator family gist_trgm_ops using gist;
ALTER EXTENSION pg_trgm ADD operator class gist_trgm_ops using gist;
ALTER EXTENSION pg_trgm ADD function gin_extract_value_trgm(text,internal);
ALTER EXTENSION pg_trgm ADD function gin_extract_query_trgm(text,internal,smallint,internal,internal,internal,internal);
ALTER EXTENSION pg_trgm ADD function gin_trgm_consistent(internal,smallint,text,integer,internal,internal,internal,internal);
ALTER EXTENSION pg_trgm ADD operator family gin_trgm_ops using gin;
ALTER EXTENSION pg_trgm ADD operator class gin_trgm_ops using gin;
# pg_trgm extension
comment = 'text similarity measurement and index searching based on trigrams'
default_version = '1.0'
module_pathname = '$libdir/pg_trgm'
relocatable = true
-- CREATE EXTENSION pg_trgm;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of pg_tgrm.sql.
--
SET client_min_messages = warning;
\set ECHO none
\i pg_trgm.sql
\set ECHO all
RESET client_min_messages;
select show_trgm(''); select show_trgm('');
select show_trgm('(*&^$@%@'); select show_trgm('(*&^$@%@');
......
/* contrib/pg_trgm/uninstall_pg_trgm.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP OPERATOR CLASS gist_trgm_ops USING gist;
DROP FUNCTION gtrgm_same(gtrgm, gtrgm, internal);
DROP FUNCTION gtrgm_union(bytea, internal);
DROP FUNCTION gtrgm_picksplit(internal, internal);
DROP FUNCTION gtrgm_penalty(internal,internal,internal);
DROP FUNCTION gtrgm_decompress(internal);
DROP FUNCTION gtrgm_compress(internal);
DROP FUNCTION gtrgm_consistent(internal,text,int,oid,internal);
DROP FUNCTION gtrgm_distance(internal,text,int,oid);
DROP TYPE gtrgm CASCADE;
DROP OPERATOR CLASS gin_trgm_ops USING gin;
DROP FUNCTION gin_extract_value_trgm(text, internal);
DROP FUNCTION gin_extract_query_trgm(text, internal, int2, internal, internal, internal, internal);
DROP FUNCTION gin_trgm_consistent(internal, int2, text, int4, internal, internal, internal, internal);
DROP OPERATOR % (text, text);
DROP FUNCTION similarity_op(text,text);
DROP OPERATOR <-> (text, text);
DROP FUNCTION similarity_dist(text,text);
DROP FUNCTION similarity(text,text);
DROP FUNCTION show_trgm(text);
DROP FUNCTION show_limit();
DROP FUNCTION set_limit(float4);
#
# Makefile for pg_upgrade
#
# contrib/pg_upgrade/Makefile # contrib/pg_upgrade/Makefile
PGFILEDESC = "pg_upgrade - an in-place binary upgrade utility" PGFILEDESC = "pg_upgrade - an in-place binary upgrade utility"
......
#
# Makefile for pg_upgrade_support
#
# contrib/pg_upgrade_support/Makefile # contrib/pg_upgrade_support/Makefile
PGFILEDESC = "pg_upgrade_support - server-side functions for pg_upgrade" PGFILEDESC = "pg_upgrade_support - server-side functions for pg_upgrade"
......
/pgcrypto.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
#
# contrib/pgcrypto/Makefile # contrib/pgcrypto/Makefile
#
INT_SRCS = md5.c sha1.c sha2.c internal.c internal-sha2.c blf.c rijndael.c \ INT_SRCS = md5.c sha1.c sha2.c internal.c internal-sha2.c blf.c rijndael.c \
fortuna.c random.c pgp-mpi-internal.c imath.c fortuna.c random.c pgp-mpi-internal.c imath.c
...@@ -26,9 +24,9 @@ SRCS = pgcrypto.c px.c px-hmac.c px-crypt.c \ ...@@ -26,9 +24,9 @@ SRCS = pgcrypto.c px.c px-hmac.c px-crypt.c \
MODULE_big = pgcrypto MODULE_big = pgcrypto
OBJS = $(SRCS:.c=.o) OBJS = $(SRCS:.c=.o)
DATA_built = pgcrypto.sql
DATA = uninstall_pgcrypto.sql EXTENSION = pgcrypto
EXTRA_CLEAN = gen-rtab DATA = pgcrypto--1.0.sql pgcrypto--unpackaged--1.0.sql
REGRESS = init md5 sha1 hmac-md5 hmac-sha1 blowfish rijndael \ REGRESS = init md5 sha1 hmac-md5 hmac-sha1 blowfish rijndael \
$(CF_TESTS) \ $(CF_TESTS) \
...@@ -36,6 +34,7 @@ REGRESS = init md5 sha1 hmac-md5 hmac-sha1 blowfish rijndael \ ...@@ -36,6 +34,7 @@ REGRESS = init md5 sha1 hmac-md5 hmac-sha1 blowfish rijndael \
pgp-armor pgp-decrypt pgp-encrypt $(CF_PGP_TESTS) \ pgp-armor pgp-decrypt pgp-encrypt $(CF_PGP_TESTS) \
pgp-pubkey-decrypt pgp-pubkey-encrypt pgp-info pgp-pubkey-decrypt pgp-pubkey-encrypt pgp-info
EXTRA_CLEAN = gen-rtab
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
-- --
-- init pgcrypto -- init pgcrypto
-- --
-- CREATE EXTENSION pgcrypto;
-- first, define the functions. Turn off echoing so that expected file
-- does not depend on contents of pgcrypto.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
-- ensure consistent test output regardless of the default bytea format -- ensure consistent test output regardless of the default bytea format
SET bytea_output TO escape; SET bytea_output TO escape;
-- check for encoding fn's -- check for encoding fn's
......
/* contrib/pgcrypto/pgcrypto.sql.in */ /* contrib/pgcrypto/pgcrypto--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION digest(text, text) CREATE OR REPLACE FUNCTION digest(text, text)
RETURNS bytea RETURNS bytea
......
/* contrib/pgcrypto/pgcrypto--unpackaged--1.0.sql */
ALTER EXTENSION pgcrypto ADD function digest(text,text);
ALTER EXTENSION pgcrypto ADD function digest(bytea,text);
ALTER EXTENSION pgcrypto ADD function hmac(text,text,text);
ALTER EXTENSION pgcrypto ADD function hmac(bytea,bytea,text);
ALTER EXTENSION pgcrypto ADD function crypt(text,text);
ALTER EXTENSION pgcrypto ADD function gen_salt(text);
ALTER EXTENSION pgcrypto ADD function gen_salt(text,integer);
ALTER EXTENSION pgcrypto ADD function encrypt(bytea,bytea,text);
ALTER EXTENSION pgcrypto ADD function decrypt(bytea,bytea,text);
ALTER EXTENSION pgcrypto ADD function encrypt_iv(bytea,bytea,bytea,text);
ALTER EXTENSION pgcrypto ADD function decrypt_iv(bytea,bytea,bytea,text);
ALTER EXTENSION pgcrypto ADD function gen_random_bytes(integer);
ALTER EXTENSION pgcrypto ADD function pgp_sym_encrypt(text,text);
ALTER EXTENSION pgcrypto ADD function pgp_sym_encrypt_bytea(bytea,text);
ALTER EXTENSION pgcrypto ADD function pgp_sym_encrypt(text,text,text);
ALTER EXTENSION pgcrypto ADD function pgp_sym_encrypt_bytea(bytea,text,text);
ALTER EXTENSION pgcrypto ADD function pgp_sym_decrypt(bytea,text);
ALTER EXTENSION pgcrypto ADD function pgp_sym_decrypt_bytea(bytea,text);
ALTER EXTENSION pgcrypto ADD function pgp_sym_decrypt(bytea,text,text);
ALTER EXTENSION pgcrypto ADD function pgp_sym_decrypt_bytea(bytea,text,text);
ALTER EXTENSION pgcrypto ADD function pgp_pub_encrypt(text,bytea);
ALTER EXTENSION pgcrypto ADD function pgp_pub_encrypt_bytea(bytea,bytea);
ALTER EXTENSION pgcrypto ADD function pgp_pub_encrypt(text,bytea,text);
ALTER EXTENSION pgcrypto ADD function pgp_pub_encrypt_bytea(bytea,bytea,text);
ALTER EXTENSION pgcrypto ADD function pgp_pub_decrypt(bytea,bytea);
ALTER EXTENSION pgcrypto ADD function pgp_pub_decrypt_bytea(bytea,bytea);
ALTER EXTENSION pgcrypto ADD function pgp_pub_decrypt(bytea,bytea,text);
ALTER EXTENSION pgcrypto ADD function pgp_pub_decrypt_bytea(bytea,bytea,text);
ALTER EXTENSION pgcrypto ADD function pgp_pub_decrypt(bytea,bytea,text,text);
ALTER EXTENSION pgcrypto ADD function pgp_pub_decrypt_bytea(bytea,bytea,text,text);
ALTER EXTENSION pgcrypto ADD function pgp_key_id(bytea);
ALTER EXTENSION pgcrypto ADD function armor(bytea);
ALTER EXTENSION pgcrypto ADD function dearmor(text);
# pgcrypto extension
comment = 'cryptographic functions'
default_version = '1.0'
module_pathname = '$libdir/pgcrypto'
relocatable = true
...@@ -2,15 +2,7 @@ ...@@ -2,15 +2,7 @@
-- init pgcrypto -- init pgcrypto
-- --
-- CREATE EXTENSION pgcrypto;
-- first, define the functions. Turn off echoing so that expected file
-- does not depend on contents of pgcrypto.sql.
--
SET client_min_messages = warning;
\set ECHO none
\i pgcrypto.sql
\set ECHO all
RESET client_min_messages;
-- ensure consistent test output regardless of the default bytea format -- ensure consistent test output regardless of the default bytea format
SET bytea_output TO escape; SET bytea_output TO escape;
......
/* contrib/pgcrypto/uninstall_pgcrypto.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP FUNCTION digest(text, text);
DROP FUNCTION digest(bytea, text);
DROP FUNCTION hmac(text, text, text);
DROP FUNCTION hmac(bytea, bytea, text);
DROP FUNCTION crypt(text, text);
DROP FUNCTION gen_salt(text);
DROP FUNCTION gen_salt(text, int4);
DROP FUNCTION encrypt(bytea, bytea, text);
DROP FUNCTION decrypt(bytea, bytea, text);
DROP FUNCTION encrypt_iv(bytea, bytea, bytea, text);
DROP FUNCTION decrypt_iv(bytea, bytea, bytea, text);
DROP FUNCTION gen_random_bytes(int4);
DROP FUNCTION pgp_sym_encrypt(text, text);
DROP FUNCTION pgp_sym_encrypt_bytea(bytea, text);
DROP FUNCTION pgp_sym_encrypt(text, text, text);
DROP FUNCTION pgp_sym_encrypt_bytea(bytea, text, text);
DROP FUNCTION pgp_sym_decrypt(bytea, text);
DROP FUNCTION pgp_sym_decrypt_bytea(bytea, text);
DROP FUNCTION pgp_sym_decrypt(bytea, text, text);
DROP FUNCTION pgp_sym_decrypt_bytea(bytea, text, text);
DROP FUNCTION pgp_pub_encrypt(text, bytea);
DROP FUNCTION pgp_pub_encrypt_bytea(bytea, bytea);
DROP FUNCTION pgp_pub_encrypt(text, bytea, text);
DROP FUNCTION pgp_pub_encrypt_bytea(bytea, bytea, text);
DROP FUNCTION pgp_pub_decrypt(bytea, bytea);
DROP FUNCTION pgp_pub_decrypt_bytea(bytea, bytea);
DROP FUNCTION pgp_pub_decrypt(bytea, bytea, text);
DROP FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text);
DROP FUNCTION pgp_pub_decrypt(bytea, bytea, text, text);
DROP FUNCTION pgp_pub_decrypt_bytea(bytea, bytea, text, text);
DROP FUNCTION pgp_key_id(bytea);
DROP FUNCTION armor(bytea);
DROP FUNCTION dearmor(text);
#-------------------------------------------------------------------------
#
# pgrowlocks Makefile
#
# contrib/pgrowlocks/Makefile # contrib/pgrowlocks/Makefile
#
#-------------------------------------------------------------------------
MODULE_big = pgrowlocks MODULE_big = pgrowlocks
OBJS = pgrowlocks.o OBJS = pgrowlocks.o
DATA_built = pgrowlocks.sql
DATA = uninstall_pgrowlocks.sql EXTENSION = pgrowlocks
DATA = pgrowlocks--1.0.sql pgrowlocks--unpackaged--1.0.sql
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
/* contrib/pgrowlocks/pgrowlocks.sql.in */ /* contrib/pgrowlocks/pgrowlocks--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION pgrowlocks(IN relname text, CREATE OR REPLACE FUNCTION pgrowlocks(IN relname text,
OUT locked_row TID, -- row TID OUT locked_row TID, -- row TID
......
/* contrib/pgrowlocks/pgrowlocks--unpackaged--1.0.sql */
ALTER EXTENSION pgrowlocks ADD function pgrowlocks(text);
# pgrowlocks extension
comment = 'show row-level locking information'
default_version = '1.0'
module_pathname = '$libdir/pgrowlocks'
relocatable = true
/* contrib/pgrowlocks/uninstall_pgrowlocks.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP FUNCTION pgrowlocks(text);
#-------------------------------------------------------------------------
#
# pgstattuple Makefile
#
# contrib/pgstattuple/Makefile # contrib/pgstattuple/Makefile
#
#-------------------------------------------------------------------------
MODULE_big = pgstattuple MODULE_big = pgstattuple
OBJS = pgstattuple.o pgstatindex.o OBJS = pgstattuple.o pgstatindex.o
DATA_built = pgstattuple.sql
DATA = uninstall_pgstattuple.sql EXTENSION = pgstattuple
DATA = pgstattuple--1.0.sql pgstattuple--unpackaged--1.0.sql
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
/* contrib/pgstattuple/pgstattuple.sql.in */ /* contrib/pgstattuple/pgstattuple--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION pgstattuple(IN relname text, CREATE OR REPLACE FUNCTION pgstattuple(IN relname text,
OUT table_len BIGINT, -- physical table length in bytes OUT table_len BIGINT, -- physical table length in bytes
......
/* contrib/pgstattuple/pgstattuple--unpackaged--1.0.sql */
ALTER EXTENSION pgstattuple ADD function pgstattuple(text);
ALTER EXTENSION pgstattuple ADD function pgstattuple(oid);
ALTER EXTENSION pgstattuple ADD function pgstatindex(text);
ALTER EXTENSION pgstattuple ADD function pg_relpages(text);
# pgstattuple extension
comment = 'show tuple-level statistics'
default_version = '1.0'
module_pathname = '$libdir/pgstattuple'
relocatable = true
/* contrib/pgstattuple/uninstall_pgstattuple.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP FUNCTION pgstattuple(text);
DROP FUNCTION pgstattuple(oid);
DROP FUNCTION pgstatindex(text);
DROP FUNCTION pg_relpages(text);
/segparse.c /segparse.c
/segscan.c /segscan.c
/seg.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
MODULE_big = seg MODULE_big = seg
OBJS = seg.o segparse.o OBJS = seg.o segparse.o
DATA_built = seg.sql
DATA = uninstall_seg.sql EXTENSION = seg
DATA = seg--1.0.sql seg--unpackaged--1.0.sql
REGRESS = seg REGRESS = seg
EXTRA_CLEAN = y.tab.c y.tab.h EXTRA_CLEAN = y.tab.c y.tab.h
......
-- --
-- Test seg datatype -- Test seg datatype
-- --
-- CREATE EXTENSION seg;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of seg.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
-- --
-- testing the input and output functions -- testing the input and output functions
-- --
......
-- --
-- Test seg datatype -- Test seg datatype
-- --
-- CREATE EXTENSION seg;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of seg.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
-- --
-- testing the input and output functions -- testing the input and output functions
-- --
......
/* contrib/seg/seg.sql.in */ /* contrib/seg/seg--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- Create the user-defined type for 1-D floating point intervals (seg) -- Create the user-defined type for 1-D floating point intervals (seg)
--
CREATE OR REPLACE FUNCTION seg_in(cstring) CREATE OR REPLACE FUNCTION seg_in(cstring)
RETURNS seg RETURNS seg
......
/* contrib/seg/seg--unpackaged--1.0.sql */
ALTER EXTENSION seg ADD type seg;
ALTER EXTENSION seg ADD function seg_in(cstring);
ALTER EXTENSION seg ADD function seg_out(seg);
ALTER EXTENSION seg ADD function seg_over_left(seg,seg);
ALTER EXTENSION seg ADD function seg_over_right(seg,seg);
ALTER EXTENSION seg ADD function seg_left(seg,seg);
ALTER EXTENSION seg ADD function seg_right(seg,seg);
ALTER EXTENSION seg ADD function seg_lt(seg,seg);
ALTER EXTENSION seg ADD function seg_le(seg,seg);
ALTER EXTENSION seg ADD function seg_gt(seg,seg);
ALTER EXTENSION seg ADD function seg_ge(seg,seg);
ALTER EXTENSION seg ADD function seg_contains(seg,seg);
ALTER EXTENSION seg ADD function seg_contained(seg,seg);
ALTER EXTENSION seg ADD function seg_overlap(seg,seg);
ALTER EXTENSION seg ADD function seg_same(seg,seg);
ALTER EXTENSION seg ADD function seg_different(seg,seg);
ALTER EXTENSION seg ADD function seg_cmp(seg,seg);
ALTER EXTENSION seg ADD function seg_union(seg,seg);
ALTER EXTENSION seg ADD function seg_inter(seg,seg);
ALTER EXTENSION seg ADD function seg_size(seg);
ALTER EXTENSION seg ADD function seg_center(seg);
ALTER EXTENSION seg ADD function seg_upper(seg);
ALTER EXTENSION seg ADD function seg_lower(seg);
ALTER EXTENSION seg ADD operator >(seg,seg);
ALTER EXTENSION seg ADD operator >=(seg,seg);
ALTER EXTENSION seg ADD operator <(seg,seg);
ALTER EXTENSION seg ADD operator <=(seg,seg);
ALTER EXTENSION seg ADD operator >>(seg,seg);
ALTER EXTENSION seg ADD operator <<(seg,seg);
ALTER EXTENSION seg ADD operator &<(seg,seg);
ALTER EXTENSION seg ADD operator &&(seg,seg);
ALTER EXTENSION seg ADD operator &>(seg,seg);
ALTER EXTENSION seg ADD operator <>(seg,seg);
ALTER EXTENSION seg ADD operator =(seg,seg);
ALTER EXTENSION seg ADD operator <@(seg,seg);
ALTER EXTENSION seg ADD operator @>(seg,seg);
ALTER EXTENSION seg ADD operator ~(seg,seg);
ALTER EXTENSION seg ADD operator @(seg,seg);
ALTER EXTENSION seg ADD function gseg_consistent(internal,seg,integer,oid,internal);
ALTER EXTENSION seg ADD function gseg_compress(internal);
ALTER EXTENSION seg ADD function gseg_decompress(internal);
ALTER EXTENSION seg ADD function gseg_penalty(internal,internal,internal);
ALTER EXTENSION seg ADD function gseg_picksplit(internal,internal);
ALTER EXTENSION seg ADD function gseg_union(internal,internal);
ALTER EXTENSION seg ADD function gseg_same(seg,seg,internal);
ALTER EXTENSION seg ADD operator family seg_ops using btree;
ALTER EXTENSION seg ADD operator class seg_ops using btree;
ALTER EXTENSION seg ADD operator family gist_seg_ops using gist;
ALTER EXTENSION seg ADD operator class gist_seg_ops using gist;
# seg extension
comment = 'data type for representing line segments or floating-point intervals'
default_version = '1.0'
module_pathname = '$libdir/seg'
relocatable = true
...@@ -2,15 +2,7 @@ ...@@ -2,15 +2,7 @@
-- Test seg datatype -- Test seg datatype
-- --
-- CREATE EXTENSION seg;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of seg.sql.
--
SET client_min_messages = warning;
\set ECHO none
\i seg.sql
\set ECHO all
RESET client_min_messages;
-- --
-- testing the input and output functions -- testing the input and output functions
......
/* contrib/seg/uninstall_seg.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP OPERATOR CLASS gist_seg_ops USING gist;
DROP OPERATOR CLASS seg_ops USING btree;
DROP FUNCTION gseg_same(seg, seg, internal);
DROP FUNCTION gseg_union(internal, internal);
DROP FUNCTION gseg_picksplit(internal, internal);
DROP FUNCTION gseg_penalty(internal,internal,internal);
DROP FUNCTION gseg_decompress(internal);
DROP FUNCTION gseg_compress(internal);
DROP FUNCTION gseg_consistent(internal,seg,int,oid,internal);
DROP OPERATOR <@ (seg, seg);
DROP OPERATOR @> (seg, seg);
DROP OPERATOR ~ (seg, seg);
DROP OPERATOR @ (seg, seg);
DROP OPERATOR <> (seg, seg);
DROP OPERATOR = (seg, seg);
DROP OPERATOR >> (seg, seg);
DROP OPERATOR &> (seg, seg);
DROP OPERATOR && (seg, seg);
DROP OPERATOR &< (seg, seg);
DROP OPERATOR << (seg, seg);
DROP OPERATOR >= (seg, seg);
DROP OPERATOR > (seg, seg);
DROP OPERATOR <= (seg, seg);
DROP OPERATOR < (seg, seg);
DROP FUNCTION seg_center(seg);
DROP FUNCTION seg_lower(seg);
DROP FUNCTION seg_upper(seg);
DROP FUNCTION seg_size(seg);
DROP FUNCTION seg_inter(seg, seg);
DROP FUNCTION seg_union(seg, seg);
DROP FUNCTION seg_cmp(seg, seg);
DROP FUNCTION seg_different(seg, seg);
DROP FUNCTION seg_same(seg, seg);
DROP FUNCTION seg_overlap(seg, seg);
DROP FUNCTION seg_contained(seg, seg);
DROP FUNCTION seg_contains(seg, seg);
DROP FUNCTION seg_ge(seg, seg);
DROP FUNCTION seg_gt(seg, seg);
DROP FUNCTION seg_le(seg, seg);
DROP FUNCTION seg_lt(seg, seg);
DROP FUNCTION seg_right(seg, seg);
DROP FUNCTION seg_left(seg, seg);
DROP FUNCTION seg_over_right(seg, seg);
DROP FUNCTION seg_over_left(seg, seg);
DROP TYPE seg CASCADE;
/autoinc.sql
/insert_username.sql
/moddatetime.sql
/refint.sql
/timetravel.sql
# contrib/spi/Makefile # contrib/spi/Makefile
MODULES = autoinc insert_username moddatetime refint timetravel MODULES = autoinc insert_username moddatetime refint timetravel
DATA_built = $(addsuffix .sql, $(MODULES))
EXTENSION = autoinc insert_username moddatetime refint timetravel
DATA = autoinc--1.0.sql autoinc--unpackaged--1.0.sql \
insert_username--1.0.sql insert_username--unpackaged--1.0.sql \
moddatetime--1.0.sql moddatetime--unpackaged--1.0.sql \
refint--1.0.sql refint--unpackaged--1.0.sql \
timetravel--1.0.sql timetravel--unpackaged--1.0.sql
DOCS = $(addsuffix .example, $(MODULES)) DOCS = $(addsuffix .example, $(MODULES))
# this is needed for the regression tests; # this is needed for the regression tests;
......
/* contrib/spi/autoinc.sql.in */ /* contrib/spi/autoinc--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION autoinc() CREATE OR REPLACE FUNCTION autoinc()
RETURNS trigger RETURNS trigger
......
/* contrib/spi/autoinc--unpackaged--1.0.sql */
ALTER EXTENSION autoinc ADD function autoinc();
# autoinc extension
comment = 'functions for autoincrementing fields'
default_version = '1.0'
module_pathname = '$libdir/autoinc'
relocatable = true
/* contrib/spi/insert_username.sql.in */ /* contrib/spi/insert_username--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION insert_username() CREATE OR REPLACE FUNCTION insert_username()
RETURNS trigger RETURNS trigger
......
/* contrib/spi/insert_username--unpackaged--1.0.sql */
ALTER EXTENSION insert_username ADD function insert_username();
# insert_username extension
comment = 'functions for tracking who changed a table'
default_version = '1.0'
module_pathname = '$libdir/insert_username'
relocatable = true
/* contrib/spi/moddatetime.sql.in */ /* contrib/spi/moddatetime--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION moddatetime() CREATE OR REPLACE FUNCTION moddatetime()
RETURNS trigger RETURNS trigger
......
/* contrib/spi/moddatetime--unpackaged--1.0.sql */
ALTER EXTENSION moddatetime ADD function moddatetime();
# moddatetime extension
comment = 'functions for tracking last modification time'
default_version = '1.0'
module_pathname = '$libdir/moddatetime'
relocatable = true
/* contrib/spi/refint.sql.in */ /* contrib/spi/refint--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION check_primary_key() CREATE OR REPLACE FUNCTION check_primary_key()
RETURNS trigger RETURNS trigger
......
/* contrib/spi/refint--unpackaged--1.0.sql */
ALTER EXTENSION refint ADD function check_primary_key();
ALTER EXTENSION refint ADD function check_foreign_key();
# refint extension
comment = 'functions for implementing referential integrity (obsolete)'
default_version = '1.0'
module_pathname = '$libdir/refint'
relocatable = true
/* contrib/spi/timetravel.sql.in */ /* contrib/spi/timetravel--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION timetravel() CREATE OR REPLACE FUNCTION timetravel()
RETURNS trigger RETURNS trigger
......
/* contrib/spi/timetravel--unpackaged--1.0.sql */
ALTER EXTENSION timetravel ADD function timetravel();
ALTER EXTENSION timetravel ADD function set_timetravel(name,integer);
ALTER EXTENSION timetravel ADD function get_timetravel(name);
# timetravel extension
comment = 'functions for implementing time travel'
default_version = '1.0'
module_pathname = '$libdir/timetravel'
relocatable = true
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
MODULE_big = sslinfo MODULE_big = sslinfo
OBJS = sslinfo.o OBJS = sslinfo.o
DATA_built = sslinfo.sql
DATA = uninstall_sslinfo.sql EXTENSION = sslinfo
DATA = sslinfo--1.0.sql sslinfo--unpackaged--1.0.sql
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
/* contrib/sslinfo/sslinfo.sql.in */ /* contrib/sslinfo/sslinfo--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION ssl_client_serial() RETURNS numeric CREATE OR REPLACE FUNCTION ssl_client_serial() RETURNS numeric
AS 'MODULE_PATHNAME', 'ssl_client_serial' AS 'MODULE_PATHNAME', 'ssl_client_serial'
......
/* contrib/sslinfo/sslinfo--unpackaged--1.0.sql */
ALTER EXTENSION sslinfo ADD function ssl_client_serial();
ALTER EXTENSION sslinfo ADD function ssl_is_used();
ALTER EXTENSION sslinfo ADD function ssl_version();
ALTER EXTENSION sslinfo ADD function ssl_cipher();
ALTER EXTENSION sslinfo ADD function ssl_client_cert_present();
ALTER EXTENSION sslinfo ADD function ssl_client_dn_field(text);
ALTER EXTENSION sslinfo ADD function ssl_issuer_field(text);
ALTER EXTENSION sslinfo ADD function ssl_client_dn();
ALTER EXTENSION sslinfo ADD function ssl_issuer_dn();
# sslinfo extension
comment = 'information about SSL certificates'
default_version = '1.0'
module_pathname = '$libdir/sslinfo'
relocatable = true
/* contrib/sslinfo/uninstall_sslinfo.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP FUNCTION ssl_client_serial();
DROP FUNCTION ssl_is_used();
DROP FUNCTION ssl_cipher();
DROP FUNCTION ssl_version();
DROP FUNCTION ssl_client_cert_present();
DROP FUNCTION ssl_client_dn_field(text);
DROP FUNCTION ssl_issuer_field(text);
DROP FUNCTION ssl_client_dn();
DROP FUNCTION ssl_issuer_dn();
/tablefunc.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
# contrib/tablefunc/Makefile # contrib/tablefunc/Makefile
MODULES = tablefunc MODULES = tablefunc
DATA_built = tablefunc.sql
DATA = uninstall_tablefunc.sql EXTENSION = tablefunc
DATA = tablefunc--1.0.sql tablefunc--unpackaged--1.0.sql
REGRESS = tablefunc REGRESS = tablefunc
LDFLAGS_SL += $(filter -lm, $(LIBS)) LDFLAGS_SL += $(filter -lm, $(LIBS))
......
-- CREATE EXTENSION tablefunc;
-- first, define the functions. Turn off echoing so that expected file
-- does not depend on contents of tablefunc.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
-- --
-- normal_rand() -- normal_rand()
-- no easy way to do this for regression testing -- no easy way to do this for regression testing
......
-- CREATE EXTENSION tablefunc;
-- first, define the functions. Turn off echoing so that expected file
-- does not depend on contents of tablefunc.sql.
--
SET client_min_messages = warning;
\set ECHO none
\i tablefunc.sql
\set ECHO all
RESET client_min_messages;
-- --
-- normal_rand() -- normal_rand()
......
/* contrib/tablefunc/tablefunc.sql.in */ /* contrib/tablefunc/tablefunc--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION normal_rand(int4, float8, float8) CREATE OR REPLACE FUNCTION normal_rand(int4, float8, float8)
RETURNS setof float8 RETURNS setof float8
......
/* contrib/tablefunc/tablefunc--unpackaged--1.0.sql */
ALTER EXTENSION tablefunc ADD function normal_rand(integer,double precision,double precision);
ALTER EXTENSION tablefunc ADD function crosstab(text);
ALTER EXTENSION tablefunc ADD type tablefunc_crosstab_2;
ALTER EXTENSION tablefunc ADD type tablefunc_crosstab_3;
ALTER EXTENSION tablefunc ADD type tablefunc_crosstab_4;
ALTER EXTENSION tablefunc ADD function crosstab2(text);
ALTER EXTENSION tablefunc ADD function crosstab3(text);
ALTER EXTENSION tablefunc ADD function crosstab4(text);
ALTER EXTENSION tablefunc ADD function crosstab(text,integer);
ALTER EXTENSION tablefunc ADD function crosstab(text,text);
ALTER EXTENSION tablefunc ADD function connectby(text,text,text,text,integer,text);
ALTER EXTENSION tablefunc ADD function connectby(text,text,text,text,integer);
ALTER EXTENSION tablefunc ADD function connectby(text,text,text,text,text,integer,text);
ALTER EXTENSION tablefunc ADD function connectby(text,text,text,text,text,integer);
# tablefunc extension
comment = 'functions that manipulate whole tables, including crosstab'
default_version = '1.0'
module_pathname = '$libdir/tablefunc'
relocatable = true
/* contrib/tablefunc/uninstall_tablefunc.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP FUNCTION connectby(text,text,text,text,text,int);
DROP FUNCTION connectby(text,text,text,text,text,int,text);
DROP FUNCTION connectby(text,text,text,text,int);
DROP FUNCTION connectby(text,text,text,text,int,text);
DROP FUNCTION crosstab(text,text);
DROP FUNCTION crosstab(text,int);
DROP FUNCTION crosstab4(text);
DROP FUNCTION crosstab3(text);
DROP FUNCTION crosstab2(text);
DROP TYPE tablefunc_crosstab_4;
DROP TYPE tablefunc_crosstab_3;
DROP TYPE tablefunc_crosstab_2;
DROP FUNCTION crosstab(text);
DROP FUNCTION normal_rand(int4, float8, float8);
/test_parser.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
MODULE_big = test_parser MODULE_big = test_parser
OBJS = test_parser.o OBJS = test_parser.o
DATA_built = test_parser.sql
DATA = uninstall_test_parser.sql EXTENSION = test_parser
DATA = test_parser--1.0.sql test_parser--unpackaged--1.0.sql
REGRESS = test_parser REGRESS = test_parser
ifdef USE_PGXS ifdef USE_PGXS
......
-- CREATE EXTENSION test_parser;
-- first, define the parser. Turn off echoing so that expected file
-- does not depend on contents of this file.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
-- make test configuration using parser -- make test configuration using parser
CREATE TEXT SEARCH CONFIGURATION testcfg (PARSER = testparser); CREATE TEXT SEARCH CONFIGURATION testcfg (PARSER = testparser);
ALTER TEXT SEARCH CONFIGURATION testcfg ADD MAPPING FOR word WITH simple; ALTER TEXT SEARCH CONFIGURATION testcfg ADD MAPPING FOR word WITH simple;
......
-- CREATE EXTENSION test_parser;
-- first, define the parser. Turn off echoing so that expected file
-- does not depend on contents of this file.
--
SET client_min_messages = warning;
\set ECHO none
\i test_parser.sql
\set ECHO all
RESET client_min_messages;
-- make test configuration using parser -- make test configuration using parser
......
/* contrib/test_parser/test_parser.sql.in */ /* contrib/test_parser/test_parser--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION testprs_start(internal, int4) CREATE OR REPLACE FUNCTION testprs_start(internal, int4)
RETURNS internal RETURNS internal
......
/* contrib/test_parser/test_parser--unpackaged--1.0.sql */
ALTER EXTENSION test_parser ADD function testprs_start(internal,integer);
ALTER EXTENSION test_parser ADD function testprs_getlexeme(internal,internal,internal);
ALTER EXTENSION test_parser ADD function testprs_end(internal);
ALTER EXTENSION test_parser ADD function testprs_lextype(internal);
ALTER EXTENSION test_parser ADD text search parser testparser;
# test_parser extension
comment = 'example of a custom parser for full-text search'
default_version = '1.0'
module_pathname = '$libdir/test_parser'
relocatable = true
/* contrib/test_parser/uninstall_test_parser.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP TEXT SEARCH PARSER testparser;
DROP FUNCTION testprs_start(internal, int4);
DROP FUNCTION testprs_getlexeme(internal, internal, internal);
DROP FUNCTION testprs_end(internal);
DROP FUNCTION testprs_lextype(internal);
/tsearch2.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
# contrib/tsearch2/Makefile # contrib/tsearch2/Makefile
MODULES = tsearch2 MODULES = tsearch2
DATA_built = tsearch2.sql
DATA = uninstall_tsearch2.sql EXTENSION = tsearch2
DATA = tsearch2--1.0.sql tsearch2--unpackaged--1.0.sql
REGRESS = tsearch2 REGRESS = tsearch2
ifdef USE_PGXS ifdef USE_PGXS
......
-- CREATE EXTENSION tsearch2;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of tsearch2.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
--tsvector --tsvector
SELECT '1'::tsvector; SELECT '1'::tsvector;
tsvector tsvector
......
-- CREATE EXTENSION tsearch2;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of tsearch2.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
--tsvector --tsvector
SELECT '1'::tsvector; SELECT '1'::tsvector;
tsvector tsvector
......
-- CREATE EXTENSION tsearch2;
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of tsearch2.sql.
--
SET client_min_messages = warning;
\set ECHO none
\i tsearch2.sql
\set ECHO all
RESET client_min_messages;
--tsvector --tsvector
SELECT '1'::tsvector; SELECT '1'::tsvector;
......
/* contrib/tsearch2/tsearch2.sql.in */ /* contrib/tsearch2/tsearch2--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
-- These domains are just to catch schema-qualified references to the -- These domains are just to catch schema-qualified references to the
-- old data types. -- old data types.
......
/* contrib/tsearch2/tsearch2--unpackaged--1.0.sql */
ALTER EXTENSION tsearch2 ADD type @extschema@.tsvector;
ALTER EXTENSION tsearch2 ADD type @extschema@.tsquery;
ALTER EXTENSION tsearch2 ADD type @extschema@.gtsvector;
ALTER EXTENSION tsearch2 ADD type gtsq;
ALTER EXTENSION tsearch2 ADD function lexize(oid,text);
ALTER EXTENSION tsearch2 ADD function lexize(text,text);
ALTER EXTENSION tsearch2 ADD function lexize(text);
ALTER EXTENSION tsearch2 ADD function set_curdict(integer);
ALTER EXTENSION tsearch2 ADD function set_curdict(text);
ALTER EXTENSION tsearch2 ADD function dex_init(internal);
ALTER EXTENSION tsearch2 ADD function dex_lexize(internal,internal,integer);
ALTER EXTENSION tsearch2 ADD function snb_en_init(internal);
ALTER EXTENSION tsearch2 ADD function snb_lexize(internal,internal,integer);
ALTER EXTENSION tsearch2 ADD function snb_ru_init_koi8(internal);
ALTER EXTENSION tsearch2 ADD function snb_ru_init_utf8(internal);
ALTER EXTENSION tsearch2 ADD function snb_ru_init(internal);
ALTER EXTENSION tsearch2 ADD function spell_init(internal);
ALTER EXTENSION tsearch2 ADD function spell_lexize(internal,internal,integer);
ALTER EXTENSION tsearch2 ADD function syn_init(internal);
ALTER EXTENSION tsearch2 ADD function syn_lexize(internal,internal,integer);
ALTER EXTENSION tsearch2 ADD function @extschema@.thesaurus_init(internal);
ALTER EXTENSION tsearch2 ADD function thesaurus_lexize(internal,internal,integer,internal);
ALTER EXTENSION tsearch2 ADD type tokentype;
ALTER EXTENSION tsearch2 ADD function token_type(integer);
ALTER EXTENSION tsearch2 ADD function token_type(text);
ALTER EXTENSION tsearch2 ADD function token_type();
ALTER EXTENSION tsearch2 ADD function set_curprs(integer);
ALTER EXTENSION tsearch2 ADD function set_curprs(text);
ALTER EXTENSION tsearch2 ADD type tokenout;
ALTER EXTENSION tsearch2 ADD function parse(oid,text);
ALTER EXTENSION tsearch2 ADD function parse(text,text);
ALTER EXTENSION tsearch2 ADD function parse(text);
ALTER EXTENSION tsearch2 ADD function @extschema@.prsd_start(internal,integer);
ALTER EXTENSION tsearch2 ADD function prsd_getlexeme(internal,internal,internal);
ALTER EXTENSION tsearch2 ADD function @extschema@.prsd_end(internal);
ALTER EXTENSION tsearch2 ADD function @extschema@.prsd_lextype(internal);
ALTER EXTENSION tsearch2 ADD function prsd_headline(internal,internal,internal);
ALTER EXTENSION tsearch2 ADD function set_curcfg(integer);
ALTER EXTENSION tsearch2 ADD function set_curcfg(text);
ALTER EXTENSION tsearch2 ADD function show_curcfg();
ALTER EXTENSION tsearch2 ADD function @extschema@.length(tsvector);
ALTER EXTENSION tsearch2 ADD function to_tsvector(oid,text);
ALTER EXTENSION tsearch2 ADD function to_tsvector(text,text);
ALTER EXTENSION tsearch2 ADD function @extschema@.to_tsvector(text);
ALTER EXTENSION tsearch2 ADD function @extschema@.strip(tsvector);
ALTER EXTENSION tsearch2 ADD function @extschema@.setweight(tsvector,"char");
ALTER EXTENSION tsearch2 ADD function concat(tsvector,tsvector);
ALTER EXTENSION tsearch2 ADD function @extschema@.querytree(tsquery);
ALTER EXTENSION tsearch2 ADD function to_tsquery(oid,text);
ALTER EXTENSION tsearch2 ADD function to_tsquery(text,text);
ALTER EXTENSION tsearch2 ADD function @extschema@.to_tsquery(text);
ALTER EXTENSION tsearch2 ADD function plainto_tsquery(oid,text);
ALTER EXTENSION tsearch2 ADD function plainto_tsquery(text,text);
ALTER EXTENSION tsearch2 ADD function @extschema@.plainto_tsquery(text);
ALTER EXTENSION tsearch2 ADD function tsearch2();
ALTER EXTENSION tsearch2 ADD function rank(real[],tsvector,tsquery);
ALTER EXTENSION tsearch2 ADD function rank(real[],tsvector,tsquery,integer);
ALTER EXTENSION tsearch2 ADD function rank(tsvector,tsquery);
ALTER EXTENSION tsearch2 ADD function rank(tsvector,tsquery,integer);
ALTER EXTENSION tsearch2 ADD function rank_cd(real[],tsvector,tsquery);
ALTER EXTENSION tsearch2 ADD function rank_cd(real[],tsvector,tsquery,integer);
ALTER EXTENSION tsearch2 ADD function rank_cd(tsvector,tsquery);
ALTER EXTENSION tsearch2 ADD function rank_cd(tsvector,tsquery,integer);
ALTER EXTENSION tsearch2 ADD function headline(oid,text,tsquery,text);
ALTER EXTENSION tsearch2 ADD function headline(oid,text,tsquery);
ALTER EXTENSION tsearch2 ADD function headline(text,text,tsquery,text);
ALTER EXTENSION tsearch2 ADD function headline(text,text,tsquery);
ALTER EXTENSION tsearch2 ADD function headline(text,tsquery,text);
ALTER EXTENSION tsearch2 ADD function headline(text,tsquery);
ALTER EXTENSION tsearch2 ADD operator family gist_tsvector_ops using gist;
ALTER EXTENSION tsearch2 ADD operator class gist_tsvector_ops using gist;
ALTER EXTENSION tsearch2 ADD type statinfo;
ALTER EXTENSION tsearch2 ADD function stat(text);
ALTER EXTENSION tsearch2 ADD function stat(text,text);
ALTER EXTENSION tsearch2 ADD function reset_tsearch();
ALTER EXTENSION tsearch2 ADD function get_covers(tsvector,tsquery);
ALTER EXTENSION tsearch2 ADD type tsdebug;
ALTER EXTENSION tsearch2 ADD function _get_parser_from_curcfg();
ALTER EXTENSION tsearch2 ADD function @extschema@.ts_debug(text);
ALTER EXTENSION tsearch2 ADD function @extschema@.numnode(tsquery);
ALTER EXTENSION tsearch2 ADD function @extschema@.tsquery_and(tsquery,tsquery);
ALTER EXTENSION tsearch2 ADD function @extschema@.tsquery_or(tsquery,tsquery);
ALTER EXTENSION tsearch2 ADD function @extschema@.tsquery_not(tsquery);
ALTER EXTENSION tsearch2 ADD function rewrite(tsquery,text);
ALTER EXTENSION tsearch2 ADD function rewrite(tsquery,tsquery,tsquery);
ALTER EXTENSION tsearch2 ADD function rewrite_accum(tsquery,tsquery[]);
ALTER EXTENSION tsearch2 ADD function rewrite_finish(tsquery);
ALTER EXTENSION tsearch2 ADD function rewrite(tsquery[]);
ALTER EXTENSION tsearch2 ADD function @extschema@.tsq_mcontains(tsquery,tsquery);
ALTER EXTENSION tsearch2 ADD function @extschema@.tsq_mcontained(tsquery,tsquery);
ALTER EXTENSION tsearch2 ADD operator family gist_tp_tsquery_ops using gist;
ALTER EXTENSION tsearch2 ADD operator class gist_tp_tsquery_ops using gist;
ALTER EXTENSION tsearch2 ADD operator family gin_tsvector_ops using gin;
ALTER EXTENSION tsearch2 ADD operator class gin_tsvector_ops using gin;
ALTER EXTENSION tsearch2 ADD operator family @extschema@.tsvector_ops using btree;
ALTER EXTENSION tsearch2 ADD operator class @extschema@.tsvector_ops using btree;
ALTER EXTENSION tsearch2 ADD operator family @extschema@.tsquery_ops using btree;
ALTER EXTENSION tsearch2 ADD operator class @extschema@.tsquery_ops using btree;
# tsearch2 extension
comment = 'compatibility package for pre-8.3 text search functions'
default_version = '1.0'
module_pathname = '$libdir/tsearch2'
relocatable = true
/* contrib/tsearch2/uninstall_tsearch2.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public, pg_catalog;
DROP DOMAIN tsvector CASCADE;
DROP DOMAIN tsquery CASCADE;
DROP DOMAIN gtsvector CASCADE;
DROP DOMAIN gtsq CASCADE;
DROP TYPE tokentype CASCADE;
DROP TYPE tokenout CASCADE;
DROP TYPE statinfo CASCADE;
DROP TYPE tsdebug CASCADE;
DROP OPERATOR CLASS tsquery_ops USING btree CASCADE;
DROP OPERATOR CLASS tsvector_ops USING btree CASCADE;
DROP OPERATOR CLASS gin_tsvector_ops USING gin CASCADE;
DROP OPERATOR CLASS gist_tp_tsquery_ops USING gist CASCADE;
DROP OPERATOR CLASS gist_tsvector_ops USING gist CASCADE;
DROP FUNCTION lexize(oid, text) ;
DROP FUNCTION lexize(text, text);
DROP FUNCTION lexize(text);
DROP FUNCTION set_curdict(int);
DROP FUNCTION set_curdict(text);
DROP FUNCTION dex_init(internal);
DROP FUNCTION dex_lexize(internal,internal,int4);
DROP FUNCTION snb_en_init(internal);
DROP FUNCTION snb_lexize(internal,internal,int4);
DROP FUNCTION snb_ru_init_koi8(internal);
DROP FUNCTION snb_ru_init_utf8(internal);
DROP FUNCTION snb_ru_init(internal);
DROP FUNCTION spell_init(internal);
DROP FUNCTION spell_lexize(internal,internal,int4);
DROP FUNCTION syn_init(internal);
DROP FUNCTION syn_lexize(internal,internal,int4);
DROP FUNCTION thesaurus_init(internal);
DROP FUNCTION thesaurus_lexize(internal,internal,int4,internal);
DROP FUNCTION set_curprs(int);
DROP FUNCTION set_curprs(text);
DROP FUNCTION prsd_start(internal,int4);
DROP FUNCTION prsd_getlexeme(internal,internal,internal);
DROP FUNCTION prsd_end(internal);
DROP FUNCTION prsd_lextype(internal);
DROP FUNCTION prsd_headline(internal,internal,internal);
DROP FUNCTION set_curcfg(int);
DROP FUNCTION set_curcfg(text);
DROP FUNCTION show_curcfg();
DROP FUNCTION length(tsvector);
DROP FUNCTION to_tsvector(oid, text);
DROP FUNCTION to_tsvector(text, text);
DROP FUNCTION to_tsvector(text);
DROP FUNCTION strip(tsvector);
DROP FUNCTION setweight(tsvector,"char");
DROP FUNCTION concat(tsvector,tsvector);
DROP FUNCTION querytree(tsquery);
DROP FUNCTION to_tsquery(oid, text);
DROP FUNCTION to_tsquery(text, text);
DROP FUNCTION to_tsquery(text);
DROP FUNCTION plainto_tsquery(oid, text);
DROP FUNCTION plainto_tsquery(text, text);
DROP FUNCTION plainto_tsquery(text);
DROP FUNCTION tsearch2() CASCADE;
DROP FUNCTION rank(float4[], tsvector, tsquery);
DROP FUNCTION rank(float4[], tsvector, tsquery, int4);
DROP FUNCTION rank(tsvector, tsquery);
DROP FUNCTION rank(tsvector, tsquery, int4);
DROP FUNCTION rank_cd(float4[], tsvector, tsquery);
DROP FUNCTION rank_cd(float4[], tsvector, tsquery, int4);
DROP FUNCTION rank_cd(tsvector, tsquery);
DROP FUNCTION rank_cd(tsvector, tsquery, int4);
DROP FUNCTION headline(oid, text, tsquery, text);
DROP FUNCTION headline(oid, text, tsquery);
DROP FUNCTION headline(text, text, tsquery, text);
DROP FUNCTION headline(text, text, tsquery);
DROP FUNCTION headline(text, tsquery, text);
DROP FUNCTION headline(text, tsquery);
DROP FUNCTION get_covers(tsvector,tsquery);
DROP FUNCTION _get_parser_from_curcfg();
DROP FUNCTION numnode(tsquery);
DROP FUNCTION tsquery_and(tsquery,tsquery);
DROP FUNCTION tsquery_or(tsquery,tsquery);
DROP FUNCTION tsquery_not(tsquery);
DROP FUNCTION rewrite(tsquery, text);
DROP FUNCTION rewrite(tsquery, tsquery, tsquery);
DROP AGGREGATE rewrite (tsquery[]);
DROP FUNCTION rewrite_accum(tsquery,tsquery[]);
DROP FUNCTION rewrite_finish(tsquery);
DROP FUNCTION tsq_mcontains(tsquery, tsquery);
DROP FUNCTION tsq_mcontained(tsquery, tsquery);
DROP FUNCTION reset_tsearch();
/unaccent.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
...@@ -3,9 +3,10 @@ ...@@ -3,9 +3,10 @@
MODULE_big = unaccent MODULE_big = unaccent
OBJS = unaccent.o OBJS = unaccent.o
DATA_built = unaccent.sql EXTENSION = unaccent
DATA = uninstall_unaccent.sql DATA = unaccent--1.0.sql unaccent--unpackaged--1.0.sql
DATA_TSEARCH = unaccent.rules DATA_TSEARCH = unaccent.rules
REGRESS = unaccent REGRESS = unaccent
# Adjust REGRESS_OPTS because we need a UTF8 database # Adjust REGRESS_OPTS because we need a UTF8 database
......
SET client_min_messages = warning; CREATE EXTENSION unaccent;
\set ECHO none
RESET client_min_messages;
-- must have a UTF8 database -- must have a UTF8 database
SELECT getdatabaseencoding(); SELECT getdatabaseencoding();
getdatabaseencoding getdatabaseencoding
......
SET client_min_messages = warning; CREATE EXTENSION unaccent;
\set ECHO none
\i unaccent.sql
\set ECHO all
RESET client_min_messages;
-- must have a UTF8 database -- must have a UTF8 database
SELECT getdatabaseencoding(); SELECT getdatabaseencoding();
......
/* contrib/unaccent/unaccent.sql.in */ /* contrib/unaccent/unaccent--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION unaccent(regdictionary, text) CREATE OR REPLACE FUNCTION unaccent(regdictionary, text)
RETURNS text RETURNS text
......
/* contrib/unaccent/unaccent--unpackaged--1.0.sql */
ALTER EXTENSION unaccent ADD function unaccent(regdictionary,text);
ALTER EXTENSION unaccent ADD function unaccent(text);
ALTER EXTENSION unaccent ADD function unaccent_init(internal);
ALTER EXTENSION unaccent ADD function unaccent_lexize(internal,internal,internal,internal);
ALTER EXTENSION unaccent ADD text search template unaccent;
ALTER EXTENSION unaccent ADD text search dictionary unaccent;
# unaccent extension
comment = 'text search dictionary that removes accents'
default_version = '1.0'
module_pathname = '$libdir/unaccent'
relocatable = true
/* contrib/unaccent/uninstall_unaccent.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP FUNCTION unaccent(regdictionary, text);
DROP FUNCTION unaccent(text);
DROP TEXT SEARCH DICTIONARY unaccent;
DROP TEXT SEARCH TEMPLATE unaccent;
DROP FUNCTION unaccent_init(internal);
DROP FUNCTION unaccent_lexize(internal,internal,internal,internal);
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
MODULE_big = uuid-ossp MODULE_big = uuid-ossp
OBJS = uuid-ossp.o OBJS = uuid-ossp.o
DATA_built = uuid-ossp.sql
DATA = uninstall_uuid-ossp.sql EXTENSION = uuid-ossp
DATA = uuid-ossp--1.0.sql uuid-ossp--unpackaged--1.0.sql
SHLIB_LINK += $(OSSP_UUID_LIBS) SHLIB_LINK += $(OSSP_UUID_LIBS)
......
/* contrib/uuid-ossp/uninstall_uuid-ossp.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP FUNCTION uuid_nil();
DROP FUNCTION uuid_ns_dns();
DROP FUNCTION uuid_ns_url();
DROP FUNCTION uuid_ns_oid();
DROP FUNCTION uuid_ns_x500();
DROP FUNCTION uuid_generate_v1();
DROP FUNCTION uuid_generate_v1mc();
DROP FUNCTION uuid_generate_v3(namespace uuid, name text);
DROP FUNCTION uuid_generate_v4();
DROP FUNCTION uuid_generate_v5(namespace uuid, name text);
/* contrib/uuid-ossp/uuid-ossp.sql.in */ /* contrib/uuid-ossp/uuid-ossp--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
CREATE OR REPLACE FUNCTION uuid_nil() CREATE OR REPLACE FUNCTION uuid_nil()
RETURNS uuid RETURNS uuid
......
/* contrib/uuid-ossp/uuid-ossp--unpackaged--1.0.sql */
ALTER EXTENSION "uuid-ossp" ADD function uuid_nil();
ALTER EXTENSION "uuid-ossp" ADD function uuid_ns_dns();
ALTER EXTENSION "uuid-ossp" ADD function uuid_ns_url();
ALTER EXTENSION "uuid-ossp" ADD function uuid_ns_oid();
ALTER EXTENSION "uuid-ossp" ADD function uuid_ns_x500();
ALTER EXTENSION "uuid-ossp" ADD function uuid_generate_v1();
ALTER EXTENSION "uuid-ossp" ADD function uuid_generate_v1mc();
ALTER EXTENSION "uuid-ossp" ADD function uuid_generate_v3(namespace uuid, name text);
ALTER EXTENSION "uuid-ossp" ADD function uuid_generate_v4();
ALTER EXTENSION "uuid-ossp" ADD function uuid_generate_v5(namespace uuid, name text);
# uuid-ossp extension
comment = 'generate universally unique identifiers (UUIDs)'
default_version = '1.0'
module_pathname = '$libdir/uuid-ossp'
relocatable = true
/pgxml.sql
# Generated subdirectories # Generated subdirectories
/results/ /results/
# contrib/xml2/Makefile # contrib/xml2/Makefile
MODULE_big = pgxml MODULE_big = pgxml
OBJS = xpath.o xslt_proc.o OBJS = xpath.o xslt_proc.o
SHLIB_LINK += $(filter -lxslt, $(LIBS)) $(filter -lxml2, $(LIBS)) EXTENSION = xml2
DATA = xml2--1.0.sql xml2--unpackaged--1.0.sql
DATA_built = pgxml.sql
DATA = uninstall_pgxml.sql
REGRESS = xml2 REGRESS = xml2
SHLIB_LINK += $(filter -lxslt, $(LIBS)) $(filter -lxml2, $(LIBS))
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs) PGXS := $(shell $(PG_CONFIG) --pgxs)
......
-- CREATE EXTENSION xml2;
-- first, define the functions. Turn off echoing so that expected file
-- does not depend on contents of pgxml.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
select query_to_xml('select 1 as x',true,false,''); select query_to_xml('select 1 as x',true,false,'');
query_to_xml query_to_xml
--------------------------------------------------------------- ---------------------------------------------------------------
......
-- CREATE EXTENSION xml2;
-- first, define the functions. Turn off echoing so that expected file
-- does not depend on contents of pgxml.sql.
--
SET client_min_messages = warning;
\set ECHO none
RESET client_min_messages;
select query_to_xml('select 1 as x',true,false,''); select query_to_xml('select 1 as x',true,false,'');
query_to_xml query_to_xml
--------------------------------------------------------------- ---------------------------------------------------------------
......
-- CREATE EXTENSION xml2;
-- first, define the functions. Turn off echoing so that expected file
-- does not depend on contents of pgxml.sql.
--
SET client_min_messages = warning;
\set ECHO none
\i pgxml.sql
\set ECHO all
RESET client_min_messages;
select query_to_xml('select 1 as x',true,false,''); select query_to_xml('select 1 as x',true,false,'');
......
/* contrib/xml2/uninstall_pgxml.sql */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP FUNCTION xslt_process(text,text);
DROP FUNCTION xslt_process(text,text,text);
DROP FUNCTION xpath_table(text,text,text,text,text);
DROP FUNCTION xpath_nodeset(text,text,text);
DROP FUNCTION xpath_nodeset(text,text);
DROP FUNCTION xpath_list(text,text);
DROP FUNCTION xpath_list(text,text,text);
DROP FUNCTION xpath_bool(text,text);
DROP FUNCTION xpath_number(text,text);
DROP FUNCTION xpath_nodeset(text,text,text,text);
DROP FUNCTION xpath_string(text,text);
DROP FUNCTION xml_encode_special_chars(text);
-- deprecated old name for xml_is_well_formed
DROP FUNCTION xml_valid(text);
/* contrib/xml2/pgxml.sql.in */ /* contrib/xml2/xml2--1.0.sql */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
--SQL for XML parser --SQL for XML parser
......
/* contrib/xml2/xml2--unpackaged--1.0.sql */
ALTER EXTENSION xml2 ADD function xslt_process(text,text);
ALTER EXTENSION xml2 ADD function xslt_process(text,text,text);
ALTER EXTENSION xml2 ADD function xpath_table(text,text,text,text,text);
ALTER EXTENSION xml2 ADD function xpath_nodeset(text,text,text);
ALTER EXTENSION xml2 ADD function xpath_nodeset(text,text);
ALTER EXTENSION xml2 ADD function xpath_list(text,text);
ALTER EXTENSION xml2 ADD function xpath_list(text,text,text);
ALTER EXTENSION xml2 ADD function xpath_bool(text,text);
ALTER EXTENSION xml2 ADD function xpath_number(text,text);
ALTER EXTENSION xml2 ADD function xpath_nodeset(text,text,text,text);
ALTER EXTENSION xml2 ADD function xpath_string(text,text);
ALTER EXTENSION xml2 ADD function xml_encode_special_chars(text);
ALTER EXTENSION xml2 ADD function xml_valid(text);
ALTER EXTENSION xml2 ADD function xml_is_well_formed(text);
# xml2 extension
comment = 'XPath querying and XSLT'
default_version = '1.0'
module_pathname = '$libdir/pgxml'
relocatable = true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment