Re: [HACKERS] generic LONG VARLENA - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] generic LONG VARLENA
Date
Msg-id 199912130603.BAA19486@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] generic LONG VARLENA  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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@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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] LONG
Next
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] LONG