From: ivan Date: Wed, 30 Mar 2011 16:58:04 +0000 (+0000) Subject: add rt tables to pg-readonly, RT#10536 X-Git-Tag: freeside_2_3_0~456 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=902b7f9a968dcda33e88f0c4f26e306f6bb171b9 add rt tables to pg-readonly, RT#10536 --- diff --git a/bin/pg-readonly b/bin/pg-readonly index 091174cff..b5cde4d6e 100644 --- a/bin/pg-readonly +++ b/bin/pg-readonly @@ -47,7 +47,7 @@ Attributes sessions ); -foreach my $rt_table ( @rt_tables ) { +foreach my $table ( @rt_tables ) { $dbh->do("GRANT SELECT ON $table TO $rouser"); $dbh->commit(); $dbh->do("GRANT SELECT ON ${table}_id_seq TO $rouser");