Re: Use of LP_DELETE in buffer header

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Use of LP_DELETE in buffer header
Date: 2001-02-20 21:07:52
Message-ID: 200102202107.QAA23074@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I can find no use of LP_DELETE as defined as a flag in storage/itemid.h.
> A few places test it, but no one sets it.
>
> Can anyone else? Can I remove it in 7.2?

Never mind. It is used by work Vadim is doing:

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

************
*** 31,44 ****
*/
#define LP_USED 0x01 /* this line pointer is being us ed */

- #ifdef XLOG
-
#define LP_DELETE 0x02 /* item is to be deleted */

#define ItemIdDeleted(itemId) \
(((itemId)->lp_flags & LP_DELETE) != 0)
-
- #endif

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2001-02-20 21:13:40 Re: PHP 4.0.4pl1 / Beta 5
Previous Message Tom Lane 2001-02-20 21:04:58 Re: Re: A How-To: PostgreSQL from Tcl via ODBC