Re: OCTET_LENGTH is wrong - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: OCTET_LENGTH is wrong
Date
Msg-id 20011120185347I.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: OCTET_LENGTH is wrong  (Karel Zak <zakkr@zf.jcu.cz>)
List pgsql-hackers
> > There have been three ideas of what octet_length() sould return:
> > 
> >     1) compressed on-disk storage length
> >     2) byte length in server-side encoding
> >     3) byte length in client-side encoding
> 
>  Very nice is possibility of choice... What add everything:
> 
>     octet_length_storage()
>     octet_length_server()
>     octet_length_client()

We only need one of octet_length_server() or octet_length_client().
We could emulate the rest using convert() etc.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Karel Zak
Date:
Subject: Re: OCTET_LENGTH is wrong
Next
From: "Tille, Andreas"
Date:
Subject: Re: Further open item (Was: Status of 7.2)