rrs-commit: r21 - in trunk: . update update/0.2-0.3

decibel at decibel.org decibel at decibel.org
Sat Jan 22 19:00:49 GMT 2005


Author: decibel
Date: Sat Jan 22 19:00:48 2005
New Revision: 21

Added:
   trunk/update/
   trunk/update.sh   (contents, props changed)
   trunk/update/0.2-0.3/
   trunk/update/0.2-0.3/rrs.sql   (contents, props changed)
Log:
Add update mechanism

Added: trunk/update.sh
==============================================================================
--- (empty file)
+++ trunk/update.sh	Sat Jan 22 19:00:48 2005
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# $Id$
+#
+# Copyright (c) 2004, Jim C. Nasby (decibel at rrs.decibel.org)
+# All rights reserved.
+
+USER=$1
+DBNAME=$2
+
+psql -U $USER -f update/0.2-0.3/rrs.sql $DBNAME
+psql -U $USER -f util_functions.sql $DBNAME
+psql -U $USER -f rrs_functions.sql $DBNAME

Added: trunk/update/0.2-0.3/rrs.sql
==============================================================================
--- (empty file)
+++ trunk/update/0.2-0.3/rrs.sql	Sat Jan 22 19:00:48 2005
@@ -0,0 +1,15 @@
+-- Copyright (c) 2004, Jim C. Nasby (decibel at rrs.decibel.org)
+-- All rights reserved.
+--
+-- $Id$
+
+SET client_encoding = 'SQL_ASCII';
+
+SET search_path = rrs, pg_catalog;
+
+REVOKE ALL ON bucket TO PUBLIC;
+REVOKE ALL ON source_status TO PUBLIC;
+GRANT SELECT ON bucket TO PUBLIC;
+GRANT SELECT ON source_status TO PUBLIC;
+
+-- vi: expandtab sw=4 ts=4


More information about the rrs-commit mailing list