From: | Shigeru Hanada <hanada(at)metrosystems(dot)co(dot)jp> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Thom Brown <thom(at)linux(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Foreign table permissions and cloning |
Date: | 2011-05-11 07:59:11 |
Message-ID: | 4DCA41CF.7080705@metrosystems.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
(2011/04/26 5:42), Robert Haas wrote:
> OK. Turned out a little more cleanup was needed to make this all the
> way consistent with how we handle views; I have now done that.
I noticed that some fixes would be needed for consistency about foreign
table privileges. Attached patch includes fixes below:
1) psql doesn't complete FOREIGN TABLE after GRANT/REVOKE.
2) pg_dump uses GRANT .. ON TABLE for foreign tables, instead of ON
FOREIGN TABLE.
3) GRANT document mentions that ALL TABLES includes foreign tables too.
4) Rows of information_schema.foreign_tables/foreign_table_options are
visible to users who have any privileges on the foreign table.
Regards,
--
Shigeru Hanada
Attachment | Content-Type | Size |
---|---|---|
foreign_table_privs.patch | text/plain | 3.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2011-05-11 08:04:13 | Re: the big picture for index-only scans |
Previous Message | Dave Page | 2011-05-11 07:58:21 | Re: Feature proposal: distinguish each PostgreSQL instance in the event log |