Re: switch UNLOGGED to LOGGED
От | Alvaro Herrera |
---|---|
Тема | Re: switch UNLOGGED to LOGGED |
Дата | |
Msg-id | 1304959722-sup-5292@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: switch UNLOGGED to LOGGED (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: switch UNLOGGED to LOGGED
|
Список | pgsql-hackers |
Excerpts from Robert Haas's message of vie may 06 23:25:09 -0300 2011: > On Fri, Apr 22, 2011 at 4:13 AM, Leonardo Francalanci <m_lists@yahoo.it> wrote: > >> Maybe you should change xl_act_commit to have a separate list of rels to > >> drop the init fork for (instead of mixing those with the list of files to > >> drop as a whole). > > > > I tried to follow your suggestion, thank you very much. > > I have to admit I don't like this approach very much. I can't see > adding 4 bytes to every commit record for this feature. Hmm, yeah. Maybe we can add a "flags" int8 somewhere in that struct and set a bit in it if nrels, nsubxacts, nmsgs and respective arrays are present. That would save some int's that are already in there. -- Álvaro Herrera <alvherre@commandprompt.com> The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-hackers по дате отправления: