Tom Lane wrote: > Alvaro Herrera <[EMAIL PROTECTED]> writes: > >> Why is it that we record grantor at all? One could argue that granting > >> membership in a role is done on behalf of that role and there's no real > >> need to remember exactly who did it. > > > I think you should ask Stephen Frost about that -- added to CC. > > > If the grantor bit is not important, then what we should do is just omit > > emitting the GRANTED BY part in pg_dumpall, which fixes this report. > > It's at least something we should reflect on before sweating hard to > make it work...
I took a look, and concluded that the only bit of code that uses the grantor at all is pg_dumpall. Does this means we can remove it altogether? In back branches, we would take out the pg_dumpall code. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match