summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-08-14 00:57:52 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-08-14 00:57:52 +0100
commitfed40f68a355ee2f9776e1f5579577676c0c311e (patch)
tree8a3ca8f74efbfbae18f856214179266fa31fdc76
parentScript and table to import news (diff)
downloadgentoobrowse-fed40f68a355ee2f9776e1f5579577676c0c311e.tar.bz2
gentoobrowse-fed40f68a355ee2f9776e1f5579577676c0c311e.tar.xz
gentoobrowse-fed40f68a355ee2f9776e1f5579577676c0c311e.zip
Correct the owner of filterspec and related operator
-rw-r--r--gentoobrowse/datasources/schema.sql8
1 files changed, 4 insertions, 4 deletions
diff --git a/gentoobrowse/datasources/schema.sql b/gentoobrowse/datasources/schema.sql
index fbc86ec..dc6919d 100644
--- a/gentoobrowse/datasources/schema.sql
+++ b/gentoobrowse/datasources/schema.sql
@@ -18,12 +18,12 @@ CREATE TYPE ebuildversion AS (
revision bigint
);
ALTER TYPE ebuildversion OWNER TO gentoo;
--- Name: filterspec; Type: TYPE; Schema: gentoobrowse; Owner: postgres
+-- Name: filterspec; Type: TYPE; Schema: gentoobrowse; Owner: gentoo
CREATE TYPE filterspec AS (
part integer,
pattern text
);
-ALTER TYPE filterspec OWNER TO postgres;
+ALTER TYPE filterspec OWNER TO gentoo;
SET default_tablespace = '';
SET default_with_oids = false;
-- Name: bugs; Type: TABLE; Schema: gentoobrowse; Owner: gentoo; Tablespace:
@@ -246,13 +246,13 @@ CREATE OPERATOR ~ (
RIGHTARG = ebuildversion
);
ALTER OPERATOR gentoobrowse.~ (ebuildversion, ebuildversion) OWNER TO gentoo;
--- Name: ~; Type: OPERATOR; Schema: gentoobrowse; Owner: postgres
+-- Name: ~; Type: OPERATOR; Schema: gentoobrowse; Owner: gentoo
CREATE OPERATOR ~ (
PROCEDURE = pathpartsmatchesspecs,
LEFTARG = text[],
RIGHTARG = filterspec[]
);
-ALTER OPERATOR gentoobrowse.~ (text[], filterspec[]) OWNER TO postgres;
+ALTER OPERATOR gentoobrowse.~ (text[], filterspec[]) OWNER TO gentoo;
-- Name: categories; Type: TABLE; Schema: gentoobrowse; Owner: gentoo; Tablespace:
CREATE TABLE categories (
categoryid integer NOT NULL,