# HG changeset patch # User Michael Schloh von Bennewitz # Date 1290431670 -3600 # Node ID 88d9122d2641b97f7b1cb4c43d145d4aec9a1de0 # Parent bab74314890ac14e4c6ab6edb29dd9ca30d3609b Use the correct comment symbol for PostgreSQL syntax. diff -r bab74314890a -r 88d9122d2641 davical/davical.patch --- a/davical/davical.patch Mon Nov 22 13:09:10 2010 +0100 +++ b/davical/davical.patch Mon Nov 22 14:14:30 2010 +0100 @@ -1,8 +1,41 @@ Index: davical-0.9.9.3/dba/appuser_permissions.txt --- davical-0.9.9.3/dba/appuser_permissions.txt.orig 2010-04-19 02:32:58.000000000 +0200 +++ davical-0.9.9.3/dba/appuser_permissions.txt 2010-09-21 17:32:46.000000000 +0200 -@@ -17,49 +17,53 @@ - # +@@ -1,65 +1,69 @@ +-# +-# This file is used by update-rscds-database to set the correct +-# permissions for the application user. In newer installations +-# the application user will probably be called app_davical (and +-# the administrative user will be called dba_davical) but in +-# older installations the application user was called 'general' +-# and the administrative user was probably 'postgres'. +-# +-# See the wiki topic 'Database/Users' for more discussion. +-# +-# This file includes lines like: +-# GRANT SELECT,... +-# which define what gets granted to the following lines like: +-# ON table1, table2, sequence1, function 3, view4, ... +-# no user-serviceable parts inside, all whitespace is ignored, +-# your mileage should not vary :-) +-# ++-- ++-- This file is used by update-rscds-database to set the correct ++-- permissions for the application user. In newer installations ++-- the application user will probably be called app_davical (and ++-- the administrative user will be called dba_davical) but in ++-- older installations the application user was called 'general' ++-- and the administrative user was probably 'postgres'. ++-- ++-- See the wiki topic 'Database/Users' for more discussion. ++-- ++-- This file includes lines like: ++-- GRANT SELECT,... ++-- which define what gets granted to the following lines like: ++-- ON table1, table2, sequence1, function 3, view4, ... ++-- no user-serviceable parts inside, all whitespace is ignored, ++-- your mileage should not vary :-) ++-- GRANT SELECT,INSERT,UPDATE,DELETE - ON collection