r2722 - people/goneri/SvnBuildStat-WWW

Gonéri Le Bouder goneri-guest at alioth.debian.org
Fri May 25 23:54:16 UTC 2007


Author: goneri-guest
Date: 2007-05-25 23:54:16 +0000 (Fri, 25 May 2007)
New Revision: 2722

Modified:
   people/goneri/SvnBuildStat-WWW/schema-pg.sql
Log:
Now I use a SQL view for the package list

Modified: people/goneri/SvnBuildStat-WWW/schema-pg.sql
===================================================================
--- people/goneri/SvnBuildStat-WWW/schema-pg.sql	2007-05-25 16:16:50 UTC (rev 2721)
+++ people/goneri/SvnBuildStat-WWW/schema-pg.sql	2007-05-25 23:54:16 UTC (rev 2722)
@@ -2,52 +2,57 @@
 -- PostgreSQL database dump
 --
 
-SET client_encoding = 'UTF8';
-SET standard_conforming_strings = off;
+SET client_encoding = 'utf8';
 SET check_function_bodies = false;
 SET client_min_messages = warning;
-SET escape_string_warning = off;
 
 --
--- Name: svnbuildstat; Type: DATABASE; Schema: -; Owner: -
+-- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: postgres
 --
 
-CREATE DATABASE svnbuildstat WITH TEMPLATE = template0 ENCODING = 'UTF8';
+COMMENT ON SCHEMA public IS 'Standard public schema';
 
 
-\connect svnbuildstat
+SET search_path = public, pg_catalog;
 
-SET client_encoding = 'UTF8';
-SET standard_conforming_strings = off;
-SET check_function_bodies = false;
-SET client_min_messages = warning;
-SET escape_string_warning = off;
+--
+-- Name: lindacount(integer); Type: FUNCTION; Schema: public; Owner: svnbuildstat
+--
 
+CREATE FUNCTION lindacount(integer) RETURNS bigint
+    AS $_$SELECT count(linda.id) FROM build,build_linda,linda WHERE build.id=build_linda.build_id AND linda.id=build_linda.linda_id AND build.id=$1;$_$
+    LANGUAGE sql;
+
+
 --
--- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: -
+-- Name: lindaerrcount(integer); Type: FUNCTION; Schema: public; Owner: svnbuildstat
 --
 
-COMMENT ON SCHEMA public IS 'Standard public schema';
+CREATE FUNCTION lindaerrcount(integer) RETURNS bigint
+    AS $_$SELECT count(linda.id) FROM build,build_linda,linda WHERE build.id=build_linda.build_id AND linda.id=build_linda.linda_id AND build.id=$1 AND linda.iserror='t';$_$
+    LANGUAGE sql;
 
 
-SET search_path = public, pg_catalog;
+--
+-- Name: lintiancount(integer); Type: FUNCTION; Schema: public; Owner: svnbuildstat
+--
 
-SET default_tablespace = '';
+CREATE FUNCTION lintiancount(integer) RETURNS bigint
+    AS $_$SELECT count(lintian.id) FROM build,build_lintian,lintian WHERE build.id=build_lintian.build_id AND lintian.id=build_lintian.lintian_id AND build.id=$1;$_$
+    LANGUAGE sql;
 
-SET default_with_oids = true;
 
 --
--- Name: arch; Type: TABLE; Schema: public; Owner: -; Tablespace: 
+-- Name: lintianerrcount(integer); Type: FUNCTION; Schema: public; Owner: svnbuildstat
 --
 
-CREATE TABLE arch (
-    id integer NOT NULL,
-    name text NOT NULL
-);
+CREATE FUNCTION lintianerrcount(integer) RETURNS bigint
+    AS $_$SELECT count(lintian.id) FROM build,build_lintian,lintian WHERE build.id=build_lintian.build_id AND lintian.id=build_lintian.lintian_id AND build.id=$1 AND lintian.iserror='t';$_$
+    LANGUAGE sql;
 
 
 --
--- Name: arch_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+-- Name: arch_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
 --
 
 CREATE SEQUENCE arch_id_seq
@@ -57,15 +62,22 @@
     CACHE 1;
 
 
+SET default_tablespace = '';
+
+SET default_with_oids = false;
+
 --
--- Name: arch_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+-- Name: arch; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
-ALTER SEQUENCE arch_id_seq OWNED BY arch.id;
+CREATE TABLE arch (
+    id integer DEFAULT nextval('arch_id_seq'::regclass) NOT NULL,
+    name text NOT NULL
+);
 
 
 --
--- Name: bug; Type: TABLE; Schema: public; Owner: -; Tablespace: 
+-- Name: bug; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 CREATE TABLE bug (
@@ -77,11 +89,22 @@
 
 
 --
--- Name: build; Type: TABLE; Schema: public; Owner: -; Tablespace: 
+-- Name: build_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
 --
 
+CREATE SEQUENCE build_id_seq
+    INCREMENT BY 1
+    NO MAXVALUE
+    NO MINVALUE
+    CACHE 1;
+
+
+--
+-- Name: build; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace: 
+--
+
 CREATE TABLE build (
-    id integer NOT NULL,
+    id integer DEFAULT nextval('build_id_seq'::regclass) NOT NULL,
     package_id integer,
     svndebrelease text,
     build_log text,
@@ -108,27 +131,9 @@
 
 
 --
--- Name: build_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+-- Name: build_linda; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
-CREATE SEQUENCE build_id_seq
-    INCREMENT BY 1
-    NO MAXVALUE
-    NO MINVALUE
-    CACHE 1;
-
-
---
--- Name: build_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
---
-
-ALTER SEQUENCE build_id_seq OWNED BY build.id;
-
-
---
--- Name: build_linda; Type: TABLE; Schema: public; Owner: -; Tablespace: 
---
-
 CREATE TABLE build_linda (
     build_id integer NOT NULL,
     linda_id integer NOT NULL
@@ -136,7 +141,7 @@
 
 
 --
--- Name: build_lintian; Type: TABLE; Schema: public; Owner: -; Tablespace: 
+-- Name: build_lintian; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 CREATE TABLE build_lintian (
@@ -146,11 +151,22 @@
 
 
 --
--- Name: host; Type: TABLE; Schema: public; Owner: -; Tablespace: 
+-- Name: host_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
 --
 
+CREATE SEQUENCE host_id_seq
+    INCREMENT BY 1
+    NO MAXVALUE
+    NO MINVALUE
+    CACHE 1;
+
+
+--
+-- Name: host; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace: 
+--
+
 CREATE TABLE host (
-    id integer NOT NULL,
+    id integer DEFAULT nextval('host_id_seq'::regclass) NOT NULL,
     name text,
     arch text,
     maintainer_id integer
@@ -158,10 +174,10 @@
 
 
 --
--- Name: host_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+-- Name: linda_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
 --
 
-CREATE SEQUENCE host_id_seq
+CREATE SEQUENCE linda_id_seq
     INCREMENT BY 1
     NO MAXVALUE
     NO MINVALUE
@@ -169,28 +185,21 @@
 
 
 --
--- Name: host_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+-- Name: linda; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
-ALTER SEQUENCE host_id_seq OWNED BY host.id;
-
-
---
--- Name: linda; Type: TABLE; Schema: public; Owner: -; Tablespace: 
---
-
 CREATE TABLE linda (
-    id integer NOT NULL,
+    id integer DEFAULT nextval('linda_id_seq'::regclass) NOT NULL,
     iserror boolean,
     name text
 );
 
 
 --
--- Name: linda_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+-- Name: lintian_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
 --
 
-CREATE SEQUENCE linda_id_seq
+CREATE SEQUENCE lintian_id_seq
     INCREMENT BY 1
     NO MAXVALUE
     NO MINVALUE
@@ -198,28 +207,21 @@
 
 
 --
--- Name: linda_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+-- Name: lintian; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
-ALTER SEQUENCE linda_id_seq OWNED BY linda.id;
-
-
---
--- Name: lintian; Type: TABLE; Schema: public; Owner: -; Tablespace: 
---
-
 CREATE TABLE lintian (
-    id integer NOT NULL,
+    id integer DEFAULT nextval('lintian_id_seq'::regclass) NOT NULL,
     iserror boolean,
     name text
 );
 
 
 --
--- Name: lintian_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+-- Name: maintainer_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
 --
 
-CREATE SEQUENCE lintian_id_seq
+CREATE SEQUENCE maintainer_id_seq
     INCREMENT BY 1
     NO MAXVALUE
     NO MINVALUE
@@ -227,28 +229,21 @@
 
 
 --
--- Name: lintian_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+-- Name: maintainer; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
-ALTER SEQUENCE lintian_id_seq OWNED BY lintian.id;
-
-
---
--- Name: maintainer; Type: TABLE; Schema: public; Owner: -; Tablespace: 
---
-
 CREATE TABLE maintainer (
-    id integer NOT NULL,
+    id integer DEFAULT nextval('maintainer_id_seq'::regclass) NOT NULL,
     email text,
     name text
 );
 
 
 --
--- Name: maintainer_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+-- Name: package_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
 --
 
-CREATE SEQUENCE maintainer_id_seq
+CREATE SEQUENCE package_id_seq
     INCREMENT BY 1
     NO MAXVALUE
     NO MINVALUE
@@ -256,18 +251,11 @@
 
 
 --
--- Name: maintainer_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+-- Name: package; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
-ALTER SEQUENCE maintainer_id_seq OWNED BY maintainer.id;
-
-
---
--- Name: package; Type: TABLE; Schema: public; Owner: -; Tablespace: 
---
-
 CREATE TABLE package (
-    id integer NOT NULL,
+    id integer DEFAULT nextval('package_id_seq'::regclass) NOT NULL,
     tarballuri text,
     repository_id integer,
     name text,
@@ -275,32 +263,16 @@
     istarballpresent boolean DEFAULT false,
     isindebian boolean DEFAULT false,
     svndebrelease text,
-    uri text
+    uri text,
+    isuptodate boolean,
+    upstreamrelease character varying(200)
 );
 
 
 --
--- Name: package_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+-- Name: package_maintainer; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
-CREATE SEQUENCE package_id_seq
-    INCREMENT BY 1
-    NO MAXVALUE
-    NO MINVALUE
-    CACHE 1;
-
-
---
--- Name: package_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
---
-
-ALTER SEQUENCE package_id_seq OWNED BY package.id;
-
-
---
--- Name: package_maintainer; Type: TABLE; Schema: public; Owner: -; Tablespace: 
---
-
 CREATE TABLE package_maintainer (
     package_id integer NOT NULL,
     maintainer_id integer NOT NULL
@@ -308,23 +280,9 @@
 
 
 --
--- Name: repository; Type: TABLE; Schema: public; Owner: -; Tablespace: 
+-- Name: repository_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
 --
 
-CREATE TABLE repository (
-    id integer NOT NULL,
-    uri text,
-    name text,
-    tarballlayout text,
-    enabled boolean DEFAULT true,
-    rev integer
-);
-
-
---
--- Name: repository_id_seq; Type: SEQUENCE; Schema: public; Owner: -
---
-
 CREATE SEQUENCE repository_id_seq
     INCREMENT BY 1
     NO MAXVALUE
@@ -333,24 +291,21 @@
 
 
 --
--- Name: repository_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+-- Name: repository; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
-ALTER SEQUENCE repository_id_seq OWNED BY repository.id;
-
-
---
--- Name: severity; Type: TABLE; Schema: public; Owner: -; Tablespace: 
---
-
-CREATE TABLE severity (
-    id integer NOT NULL,
-    name text
+CREATE TABLE repository (
+    id integer DEFAULT nextval('repository_id_seq'::regclass) NOT NULL,
+    uri text,
+    name text,
+    tarballlayout text,
+    enabled boolean DEFAULT true,
+    rev integer
 );
 
 
 --
--- Name: severity_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+-- Name: severity_id_seq; Type: SEQUENCE; Schema: public; Owner: svnbuildstat
 --
 
 CREATE SEQUENCE severity_id_seq
@@ -361,85 +316,33 @@
 
 
 --
--- Name: severity_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+-- Name: severity; Type: TABLE; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
-ALTER SEQUENCE severity_id_seq OWNED BY severity.id;
+CREATE TABLE severity (
+    id integer DEFAULT nextval('severity_id_seq'::regclass) NOT NULL,
+    name text
+);
 
 
 --
--- Name: id; Type: DEFAULT; Schema: public; Owner: -
+-- Name: viewpackage; Type: VIEW; Schema: public; Owner: svnbuildstat
 --
 
-ALTER TABLE arch ALTER COLUMN id SET DEFAULT nextval('arch_id_seq'::regclass);
+CREATE VIEW viewpackage AS
+    SELECT DISTINCT build.id, count(build.id) AS builded, lintiancount(build.id) AS lintiancount, lintianerrcount(build.id) AS lintianerrcount, lindacount(build.id) AS lindacount, lindaerrcount(build.id) AS lindaerrcount, bool_or(build.buildisok) AS buildisok, package.id AS package_id, package.name, package.repository_id, package.isindebian, package.isuptodate, count(bug.bug_id) AS count FROM ((package LEFT JOIN build build ON (((package.id = build.package_id) AND (package.rev = (build.rev)::text)))) LEFT JOIN bug ON ((package.id = bug.package_id))) GROUP BY package.id, package.name, package.repository_id, build.id, package.isindebian, package.isuptodate ORDER BY build.id, count(build.id), lintiancount(build.id), lintianerrcount(build.id), lindacount(build.id), lindaerrcount(build.id), bool_or(build.buildisok), package.id, package.name, package.repository_id, package.isindebian, package.isuptodate, count(bug.bug_id);
 
 
 --
--- Name: id; Type: DEFAULT; Schema: public; Owner: -
+-- Name: arch_arch_key; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
-ALTER TABLE build ALTER COLUMN id SET DEFAULT nextval('build_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: public; Owner: -
---
-
-ALTER TABLE host ALTER COLUMN id SET DEFAULT nextval('host_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: public; Owner: -
---
-
-ALTER TABLE linda ALTER COLUMN id SET DEFAULT nextval('linda_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: public; Owner: -
---
-
-ALTER TABLE lintian ALTER COLUMN id SET DEFAULT nextval('lintian_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: public; Owner: -
---
-
-ALTER TABLE maintainer ALTER COLUMN id SET DEFAULT nextval('maintainer_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: public; Owner: -
---
-
-ALTER TABLE package ALTER COLUMN id SET DEFAULT nextval('package_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: public; Owner: -
---
-
-ALTER TABLE repository ALTER COLUMN id SET DEFAULT nextval('repository_id_seq'::regclass);
-
-
---
--- Name: id; Type: DEFAULT; Schema: public; Owner: -
---
-
-ALTER TABLE severity ALTER COLUMN id SET DEFAULT nextval('severity_id_seq'::regclass);
-
-
---
--- Name: arch_arch_key; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
---
-
 ALTER TABLE ONLY arch
     ADD CONSTRAINT arch_arch_key UNIQUE (name);
 
 
 --
--- Name: arch_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
+-- Name: arch_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 ALTER TABLE ONLY arch
@@ -447,7 +350,7 @@
 
 
 --
--- Name: bug_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
+-- Name: bug_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 ALTER TABLE ONLY bug
@@ -455,7 +358,7 @@
 
 
 --
--- Name: build_linda_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
+-- Name: build_linda_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 ALTER TABLE ONLY build_linda
@@ -463,7 +366,7 @@
 
 
 --
--- Name: build_lintian_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
+-- Name: build_lintian_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 ALTER TABLE ONLY build_lintian
@@ -471,7 +374,7 @@
 
 
 --
--- Name: build_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
+-- Name: build_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 ALTER TABLE ONLY build
@@ -479,7 +382,7 @@
 
 
 --
--- Name: host_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
+-- Name: host_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 ALTER TABLE ONLY host
@@ -487,7 +390,7 @@
 
 
 --
--- Name: linda_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
+-- Name: linda_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 ALTER TABLE ONLY linda
@@ -495,7 +398,7 @@
 
 
 --
--- Name: lintian_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
+-- Name: lintian_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 ALTER TABLE ONLY lintian
@@ -503,7 +406,7 @@
 
 
 --
--- Name: maintainer_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
+-- Name: maintainer_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 ALTER TABLE ONLY maintainer
@@ -511,7 +414,7 @@
 
 
 --
--- Name: package_maintainer_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
+-- Name: package_maintainer_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 ALTER TABLE ONLY package_maintainer
@@ -519,7 +422,7 @@
 
 
 --
--- Name: package_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
+-- Name: package_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 ALTER TABLE ONLY package
@@ -527,7 +430,7 @@
 
 
 --
--- Name: repository_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
+-- Name: repository_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 ALTER TABLE ONLY repository
@@ -535,7 +438,7 @@
 
 
 --
--- Name: severity_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
+-- Name: severity_pkey; Type: CONSTRAINT; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 ALTER TABLE ONLY severity
@@ -543,21 +446,21 @@
 
 
 --
--- Name: arch_arch_name; Type: INDEX; Schema: public; Owner: -; Tablespace: 
+-- Name: arch_arch_name; Type: INDEX; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 CREATE INDEX arch_arch_name ON arch USING btree (name);
 
 
 --
--- Name: idx_name; Type: INDEX; Schema: public; Owner: -; Tablespace: 
+-- Name: idx_name; Type: INDEX; Schema: public; Owner: svnbuildstat; Tablespace: 
 --
 
 CREATE INDEX idx_name ON package USING btree (name);
 
 
 --
--- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: -
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
 --
 
 ALTER TABLE ONLY build_linda
@@ -565,7 +468,7 @@
 
 
 --
--- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: -
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
 --
 
 ALTER TABLE ONLY build_lintian
@@ -573,7 +476,7 @@
 
 
 --
--- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: -
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
 --
 
 ALTER TABLE ONLY host
@@ -581,7 +484,7 @@
 
 
 --
--- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: -
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
 --
 
 ALTER TABLE ONLY package
@@ -589,7 +492,7 @@
 
 
 --
--- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: -
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
 --
 
 ALTER TABLE ONLY package_maintainer
@@ -597,7 +500,7 @@
 
 
 --
--- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: -
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
 --
 
 ALTER TABLE ONLY build
@@ -605,7 +508,7 @@
 
 
 --
--- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: -
+-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
 --
 
 ALTER TABLE ONLY bug
@@ -613,7 +516,7 @@
 
 
 --
--- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: -
+-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
 --
 
 ALTER TABLE ONLY build_linda
@@ -621,7 +524,7 @@
 
 
 --
--- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: -
+-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
 --
 
 ALTER TABLE ONLY build_lintian
@@ -629,7 +532,7 @@
 
 
 --
--- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: -
+-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
 --
 
 ALTER TABLE ONLY package_maintainer
@@ -637,7 +540,7 @@
 
 
 --
--- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: -
+-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
 --
 
 ALTER TABLE ONLY build
@@ -645,7 +548,7 @@
 
 
 --
--- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: -
+-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
 --
 
 ALTER TABLE ONLY bug
@@ -653,7 +556,7 @@
 
 
 --
--- Name: $3; Type: FK CONSTRAINT; Schema: public; Owner: -
+-- Name: $3; Type: FK CONSTRAINT; Schema: public; Owner: svnbuildstat
 --
 
 ALTER TABLE ONLY build
@@ -661,12 +564,12 @@
 
 
 --
--- Name: public; Type: ACL; Schema: -; Owner: -
+-- Name: public; Type: ACL; Schema: -; Owner: postgres
 --
 
 REVOKE ALL ON SCHEMA public FROM PUBLIC;
-REVOKE ALL ON SCHEMA public FROM pgsql;
-GRANT ALL ON SCHEMA public TO pgsql;
+REVOKE ALL ON SCHEMA public FROM postgres;
+GRANT ALL ON SCHEMA public TO postgres;
 GRANT ALL ON SCHEMA public TO PUBLIC;
 
 




More information about the Pkg-games-commits mailing list