summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorivan <ivan>2011-03-30 16:58:04 +0000
committerivan <ivan>2011-03-30 16:58:04 +0000
commit902b7f9a968dcda33e88f0c4f26e306f6bb171b9 (patch)
treeb6b322cf460bfdfbb2bb22a95969f60a5915ea27 /bin
parentef9855e3023558132b4669319335782b5dd2ff6d (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");