Re: Displaying text appears as hex data

From: Michael <postgresql(at)encambio(dot)com>
To: Postgresql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Displaying text appears as hex data
Date: 2011-02-08 14:01:23
Message-ID: 20110208140123.GB441@debut.europalab.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hello Karsten,

On Tues., Feb 08, 2011, Karsten Hilbert wrote:
>On Tue, Feb 08, 2011 at 02:19:49PM +0100, Michael wrote:
>>>> The arrow in the last line indicates that 'convert_from' is not
>>>> correctly parsed.
>>>>
>>>My understanding was that your msg column was of type bytea. Is this
>>>not the case? Or is it a different column which needs converting?
>>>
>> The main developer has confirmed that the msg column is stored
>> as a BLOB,
>
>That is not really possible since PostgreSQL does not have a
>"BLOB" data type as such.
>
>It would either be a BYTEA column or a Large Object (which
>would live elsewhere and not inside the table you work on).
>
>> and I'm nearly sure that bytea is used in this case.
>>
>Very likely.
>
Okay, after looking at the sources I can confirm that BLOB maps
indeed to the 'bytea' PostgreSQL data type.

Regards,
Michael

In response to

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2011-02-08 14:07:40 When will old wal segments get removed?
Previous Message For@ll 2011-02-08 13:53:54 Postgresql - recovery.conf