summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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");