Re: TODO updates

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: TODO updates
Дата
Msg-id 3.0.5.32.20000724140537.023f3e30@mail.rhyme.com.au
обсуждение исходный текст
Ответ на Re: TODO updates  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: TODO updates  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
At 23:50 23/07/00 -0400, Tom Lane wrote:
>
>I'm more worried about failing to allow access that's necessary to do
>the restore.  What about
>
>\connect - user1
>
>create table t1;
>
>\connect - user2
>
>create rule .... (refers to t1)
>
>I think the create rule will fail if you haven't yet granted user2
>access rights for t1.
>

You are right; and I just noticed two bugs in pg_dump - (1) it does not
dump the owner of a view (which means the ACLs still might fail), and (2)
it does not reconnect to DB when using a direct DB connection, so
everything is created by one user.

So, I'll put the ACLs in OID order and fix the dump & restore code...


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: TODO updates
Следующее
От: Philip Warner
Дата:
Сообщение: Re: TODO updates