Drop "pg" prefix from extension name
This commit is contained in:
parent
ad14a83d51
commit
c0a9e988f1
10
Makefile
10
Makefile
|
@ -3,10 +3,10 @@ PKG_CONFIG = pkg-config
|
||||||
|
|
||||||
extension_version = 0
|
extension_version = 0
|
||||||
|
|
||||||
EXTENSION = pguri
|
EXTENSION = uri
|
||||||
MODULE_big = pguri
|
MODULE_big = uri
|
||||||
OBJS = pguri.o
|
OBJS = uri.o
|
||||||
DATA_built = pguri--$(extension_version).sql
|
DATA_built = uri--$(extension_version).sql
|
||||||
|
|
||||||
ifeq (no,$(shell $(PKG_CONFIG) liburiparser || echo no))
|
ifeq (no,$(shell $(PKG_CONFIG) liburiparser || echo no))
|
||||||
$(warning liburiparser not registed with pkg-config, build might fail)
|
$(warning liburiparser not registed with pkg-config, build might fail)
|
||||||
|
@ -21,5 +21,5 @@ REGRESS_OPTS = --inputdir=test
|
||||||
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
||||||
include $(PGXS)
|
include $(PGXS)
|
||||||
|
|
||||||
pguri--$(extension_version).sql: pguri.sql
|
uri--$(extension_version).sql: uri.sql
|
||||||
cat $^ >$@
|
cat $^ >$@
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
CREATE EXTENSION pguri;
|
CREATE EXTENSION uri;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
CREATE EXTENSION pguri;
|
CREATE EXTENSION uri;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
comment = 'uri type'
|
comment = 'uri type'
|
||||||
default_version = 0
|
default_version = 0
|
||||||
module_pathname = '$libdir/pguri'
|
module_pathname = '$libdir/uri'
|
||||||
relocatable = true
|
relocatable = true
|
|
@ -7,13 +7,13 @@ CREATE FUNCTION uri_in(cstring) RETURNS uri
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_out(uri) RETURNS cstring
|
CREATE FUNCTION uri_out(uri) RETURNS cstring
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE TYPE uri (
|
CREATE TYPE uri (
|
||||||
INTERNALLENGTH = -1,
|
INTERNALLENGTH = -1,
|
||||||
|
@ -30,92 +30,92 @@ CREATE FUNCTION uri_scheme(uri) RETURNS text
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_userinfo(uri) RETURNS text
|
CREATE FUNCTION uri_userinfo(uri) RETURNS text
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_host(uri) RETURNS text
|
CREATE FUNCTION uri_host(uri) RETURNS text
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_host_inet(uri) RETURNS inet
|
CREATE FUNCTION uri_host_inet(uri) RETURNS inet
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_port(uri) RETURNS integer
|
CREATE FUNCTION uri_port(uri) RETURNS integer
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_query(uri) RETURNS text
|
CREATE FUNCTION uri_query(uri) RETURNS text
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_fragment(uri) RETURNS text
|
CREATE FUNCTION uri_fragment(uri) RETURNS text
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_path(uri) RETURNS text[]
|
CREATE FUNCTION uri_path(uri) RETURNS text[]
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
|
|
||||||
CREATE FUNCTION uri_lt(uri, uri) RETURNS boolean
|
CREATE FUNCTION uri_lt(uri, uri) RETURNS boolean
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_le(uri, uri) RETURNS boolean
|
CREATE FUNCTION uri_le(uri, uri) RETURNS boolean
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_eq(uri, uri) RETURNS boolean
|
CREATE FUNCTION uri_eq(uri, uri) RETURNS boolean
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_ne(uri, uri) RETURNS boolean
|
CREATE FUNCTION uri_ne(uri, uri) RETURNS boolean
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_ge(uri, uri) RETURNS boolean
|
CREATE FUNCTION uri_ge(uri, uri) RETURNS boolean
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_gt(uri, uri) RETURNS boolean
|
CREATE FUNCTION uri_gt(uri, uri) RETURNS boolean
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE FUNCTION uri_cmp(uri, uri) RETURNS integer
|
CREATE FUNCTION uri_cmp(uri, uri) RETURNS integer
|
||||||
IMMUTABLE
|
IMMUTABLE
|
||||||
STRICT
|
STRICT
|
||||||
LANGUAGE C
|
LANGUAGE C
|
||||||
AS '$libdir/pguri';
|
AS '$libdir/uri';
|
||||||
|
|
||||||
CREATE OPERATOR < (
|
CREATE OPERATOR < (
|
||||||
LEFTARG = uri,
|
LEFTARG = uri,
|
Loading…
Reference in New Issue