Any functions to convert bit(5) to text?

From: Együd Csaba <csegyud(at)vnet(dot)hu>
To: pgsql-general(at)postgresql(dot)org
Subject: Any functions to convert bit(5) to text?
Date: 2005-02-10 06:32:35
Message-ID: 0IBO00A2FNIHEF@mail.vnet.hu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I use pg8 and ZeosLib 6.5.1. Zeos can't read fields type of array and bit,
so I need to convert these fields to text on the server side.

In case of arrays I can use array_to_string(), but I couldn't find any
functions to convert bit(*) to string (in a format like this: e.g. '10011').

Could anybody suggest me a built in function or I should write it myself?

Thank you,

-- Csaba

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 2005.02.07.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-02-10 07:00:31 Re: Any functions to convert bit(5) to text?
Previous Message Michael Fuhr 2005-02-10 05:53:39 Re: pg_affected Change Request