Re: [HACKERS] generic LONG VARLENA

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: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jan Wieck <wieck(at)debis(dot)com>, PostgreSQL HACKERS <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] generic LONG VARLENA
Date: 1999-12-13 06:03:26
Message-ID: 199912130603.BAA19486@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> However, I see any reference to VARDATA could be a problem because it
> assume the data is there, and not in the long* relations. I could
> probably figure out which ones need expanding. They are mostly system
> table accesses. The others go through adt or are output to the user.

VARDATA looks tricky. Seems I may need that cache of values. In most
cases, VARDATA values are used within the next few lines of code, just
like system cache tuples. If I need it for longer periods, I have to
palloc it. Good thing most VARDATA values are used for brief periods.

--
Bruce Momjian | http://www.op.net/~candle
maillist(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 Jan Wieck 1999-12-13 06:27:06 Re: [HACKERS] LONG
Previous Message Bruce Momjian 1999-12-13 05:59:21 Re: [HACKERS] LONG