Re: Displaying text appears as hex data - Mailing list pgsql-general

From Michael
Subject Re: Displaying text appears as hex data
Date
Msg-id 20110208140123.GB441@debut.europalab.com
Whole thread Raw
In response to Re: Displaying text appears as hex data  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
List 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

pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: Displaying text appears as hex data
Next
From: hubert depesz lubaczewski
Date:
Subject: When will old wal segments get removed?