Fixing pg_dump

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Fixing pg_dump
Дата
Msg-id 40DA517C.2030406@familyhealth.com.au
обсуждение исходный текст
Ответы Re: Fixing pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
OK,

I think it might save me some time if I get some guidance on how we 
should modify pg_dump to fix the owner/grants issue.

I intend to make new archives created with 7.5 pg_dump have the fix, and  restoring pre 7.5 binary dumps will have
exactlythe previous 
 
behaviour.  The reason for this is that extracting the acls and owners 
to the end requires scanning the entire archive twice - not necessarily 
something we want to do (is it?)

So, I have to make acls and owners completely independent 
DumpableObjects, right?  Then I can get them sorted to the end, etc., etc.

I also intend to implement a flag that makes it use the sql standard set 
session_authorization behaviour.

Is all that the way to go?

Chris



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

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: PREPARE and transactions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_largeobject and tablespaces