X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=bin%2Fpg-readonly;h=b5cde4d6ecf66f1fafbad82450845bbe13b48e09;hp=091174cffbef096bc91daade18eb5de38d62664f;hb=HEAD;hpb=ef9855e3023558132b4669319335782b5dd2ff6d diff --git a/bin/pg-readonly b/bin/pg-readonly old mode 100644 new mode 100755 index 091174cff..b5cde4d6e --- 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");