Re: Typo in htup.h comment

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Typo in htup.h comment
Дата
Msg-id 200207060217.g662HkT11656@candle.pha.pa.us
обсуждение исходный текст
Ответ на Typo in htup.h comment  (Manfred Koizar <mkoi-pg@aon.at>)
Список pgsql-hackers
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------


Manfred Koizar wrote:
> Fix typo in xl_heaptid comment
> 
> Servus
>  Manfred
> 
> --- ../base/src/include/access/htup.h    2002-07-04 18:05:04.000000000 +0200
> +++ src/include/access/htup.h    2002-07-05 16:52:44.000000000 +0200
> @@ -268,15 +268,15 @@
>  /*
>   * When we insert 1st item on new page in INSERT/UPDATE
>   * we can (and we do) restore entire page in redo
>   */
>  #define XLOG_HEAP_INIT_PAGE 0x80
>  
>  /*
> - * All what we need to find changed tuple (18 bytes)
> + * All what we need to find changed tuple (14 bytes)
>   *
>   * NB: on most machines, sizeof(xl_heaptid) will include some trailing pad
>   * bytes for alignment.  We don't want to store the pad space in the XLOG,
>   * so use SizeOfHeapTid for space calculations.  Similar comments apply for
>   * the other xl_FOO structs.
>   */
>  typedef struct xl_heaptid
>  {
>      RelFileNode node;
>      ItemPointerData tid;        /* changed tuple id */
>  } xl_heaptid;
> 
> Servus
>  Manfred
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 
> 
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 




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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Issues Outstanding for Point In Time Recovery (PITR)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Page type and version