Re: Weird pg_dumpall bug?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Weird pg_dumpall bug?
Дата
Msg-id 1138115070.3177.3.camel@swithin
обсуждение исходный текст
Ответ на Re: Weird pg_dumpall bug?  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Weird pg_dumpall bug?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
On Tue, 2006-01-24 at 09:44 -0500, Stephen Frost wrote:
> * Christopher Kings-Lynne (chriskl@familyhealth.com.au) wrote:
> > Hmmmm...actually.  It's because I have a user called 'support' and a 
> > group called 'support'.
> > 
> > Seems like it needs a fix...
> 
> Have you got a suggestion on just how to fix it...?  Debian's
> pg_upgradecluster bails out with an error when it discovers this
> situation but I don't think it'd be sensible for pg_dump to do that...
> 


How about an option to map groups whose names conflict with user names
using a prefix mechanism? 

e.g. --map-conflicting-groups=gr_

Then in Christopher's example his support group would become the role
gr_support.

Just a thought.

cheers

andrew



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Weird pg_dumpall bug?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Weird pg_dumpall bug?