Re: Size of data stored in bytea record?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Carlos Oliva <carlos(at)pbsinet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Size of data stored in bytea record?
Date: 2005-01-26 16:20:35
Message-ID: 20050126162035.GB83314@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jan 26, 2005 at 08:38:55AM -0500, Carlos Oliva wrote:

> Thank you Michael. I am using the BIT_LENGTH function which seems to return
> the size in bits of the stored blob

Do you need the length in bits? If not, then one of the other
functions in the documentation I referenced might be closer to
what you seek.

http://www.postgresql.org/docs/8.0/static/functions-binarystring.html

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Frank D. Engel, Jr. 2005-01-26 16:30:41 Re: Splitting queries across servers
Previous Message Michael Fuhr 2005-01-26 16:15:55 Re: backslashes in queries containing LIKE