Re: bytea -> text

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Baldur Norddahl <bbn-pgsql(dot)general(at)clansoft(dot)dk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: bytea -> text
Date: 2003-12-02 23:43:49
Message-ID: 25419.1070408629@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Baldur Norddahl <bbn-pgsql(dot)general(at)clansoft(dot)dk> writes:
> Seems like "like" knows how to convert bytea to text,

No, it doesn't. The reason that works is there's a LIKE operator for
bytea (try "\do ~~" in psql).

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message jini us 2003-12-03 01:22:54 Re: embedded postgresql + C++ IDE
Previous Message Tom Lane 2003-12-02 23:41:19 Re: Error in select