summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorivan <ivan>2011-03-30 16:58:05 +0000
committerivan <ivan>2011-03-30 16:58:05 +0000
commit9027c6f244351e04d1b07d8ef2ddcbe5006cadc1 (patch)
tree52013fd64ba5644c29d8c8a069798d5a63ccb5dc /bin
parent177b7404b8ade75769709de59a79879bef449bf5 (diff)
add rt tables to pg-readonly, RT#10536
Diffstat (limited to 'bin')
-rw-r--r--bin/pg-readonly2
1 files changed, 1 insertions, 1 deletions
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");