X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=bin%2Fpg-readonly;h=b5cde4d6ecf66f1fafbad82450845bbe13b48e09;hb=5b73387992a96f7b80e40b5ecb2fedabd8a78d6b;hp=091174cffbef096bc91daade18eb5de38d62664f;hpb=ef9855e3023558132b4669319335782b5dd2ff6d;p=freeside.git 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");