Re: role self-revocation
От | Tom Lane |
---|---|
Тема | Re: role self-revocation |
Дата | |
Msg-id | 210810.1646679502@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: role self-revocation (Stephen Frost <sfrost@snowman.net>) |
Ответы |
Re: role self-revocation
Re: role self-revocation |
Список | pgsql-hackers |
Stephen Frost <sfrost@snowman.net> writes: > I'm not quite following this bit. Where would SET ROLE come into play > when we're talking about old dump scripts and how the commands in those > scripts might be interpreted by newer versions of PG..? No, the concern there is the other way around: what if you take a script made by newer pg_dump and try to load it into an older server that doesn't have the GRANTED BY option? We're accustomed to saying that that doesn't work if you use a database feature that didn't exist in the old server, but privilege grants are hardly that. I don't want us to change the pg_dump output in such a way that the grants can't be restored at all to an older server, just because of a syntax choice that we could make backwards-compatibly instead of not-backwards-compatibly. regards, tom lane
В списке pgsql-hackers по дате отправления: