Re: OCTET_LENGTH is wrong

From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: OCTET_LENGTH is wrong
Date: 2001-11-20 13:52:35
Message-ID: 3BFA6023.C0446E37@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
...
> > The open question is whether we should be doing #3.

There is no question in my mind that (3) must be the result of
octet_length(). Any of the other options may give an interesting result,
but of no practical use to a client trying to retrieve data. And
everything is a client!

- Thomas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-11-20 15:14:37 Re: Further open item (Was: Status of 7.2)
Previous Message Martín Marqués 2001-11-20 11:51:13 Re: beta3