Re: [COMMITTERS] pgsql: Replace XLogRecPtr struct with a 64-bit integer.
| От | Alvaro Herrera |
|---|---|
| Тема | Re: [COMMITTERS] pgsql: Replace XLogRecPtr struct with a 64-bit integer. |
| Дата | |
| Msg-id | 1340593234-sup-8872@alvh.no-ip.org обсуждение исходный текст |
| Список | pgsql-hackers |
Excerpts from Heikki Linnakangas's message of dom jun 24 12:22:30 -0400 2012: > Replace XLogRecPtr struct with a 64-bit integer. > > This simplifies code that needs to do arithmetic on XLogRecPtrs. > > To avoid changing on-disk format of data pages, the LSN on data pages is > still stored in the old format. That should keep pg_upgrade happy. However, > we have XLogRecPtrs embedded in the control file, and in the structs that > are sent over the replication protocol, so this changes breaks compatibility > of pg_basebackup and server. I didn't do anything about this in this patch, > per discussion on -hackers, the right thing to do would to be to change the > replication protocol to be architecture-independent, so that you could use > a newer version of pg_receivexlog, for example, against an older server > version. One commit in this series broke pg_upgrade, which depended on pg_resetxlog output: "First log file id after reset". -- Álvaro Herrera <alvherre@commandprompt.com> The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-hackers по дате отправления: