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