Re: directory archive format for pg_dump
От | Heikki Linnakangas |
---|---|
Тема | Re: directory archive format for pg_dump |
Дата | |
Msg-id | 4CF8B6ED.3090300@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: directory archive format for pg_dump (Alvaro Herrera <alvherre@commandprompt.com>) |
Список | pgsql-hackers |
On 02.12.2010 23:12, Alvaro Herrera wrote: > Excerpts from Heikki Linnakangas's message of jue dic 02 16:52:27 -0300 2010: >> Ok, committed, with some small cleanup since the last patch I posted. > > I think the comments on _ReadBuf and friends need to be updated, since > they are not just for headers and TOC stuff anymore. I'm not sure if > they were already outdated before your patch ... "These routines are only used to read & write headers & TOC" Hmm, ReadInt calls _ReadByte, and PrintData used to call ReadInt, so it was indirectly been called for things other than headers and TOC already. Unless you consider the "headers" to include length integer in in each data block. I'm inclined to just remove that sentence. I also note that the _Clone and _DeClone functions are a bit misplaced. There's a big "END OF FORMAT CALLBACKS" earlier in the file, but _Clone and _DeClone are such callbacks. I'll move them to the right place. PS. Thanks for the cleanup you did yesterday. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: