Re: OCTET_LENGTH is wrong - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: OCTET_LENGTH is wrong
Date
Msg-id 200111192127.fAJLRfY23710@candle.pha.pa.us
Whole thread Raw
In response to Re: OCTET_LENGTH is wrong  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
> It seems the behavior of OCTET_LENGTH varies acording to the
> corresponding data type:
> 
> TEXT: returns the size of data AFTER TOAST
> VARCHAR and CHAR: returns the size of data BEFORE TOAST

Fixed in CVS.  TEXT now like CHAR/VARCHAR.

--  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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: postgresql.conf
Next
From: Tom Lane
Date:
Subject: Re: bug or change in functionality in 7.2?