From: | Gregory Stark <stark(at)enterprisedb(dot)com> |
---|---|
To: | "Ron Peterson" <ron(dot)peterson(at)yellowbank(dot)com> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: convert binary string to datum |
Date: | 2007-10-13 15:12:05 |
Message-ID: | 877ilrujzu.fsf@oxford.xeocode.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Ron Peterson" <ron(dot)peterson(at)yellowbank(dot)com> writes:
> 2007-10-13_08:50:56-0400 Ron Peterson <ron(dot)peterson(at)yellowbank(dot)com>:
>> 2007-10-13_01:22:06-0400 Gregory Stark <stark(at)enterprisedb(dot)com>:
>
>> > And normally you would define your own datatype and not use bytea.
>>
>> Actually, I already have my data in a structure much like varlena.
>
> Pght, I misunderstood what you were saying. You mean create a
> full-blown new type. I was thinking completely internally. Yeah,
> that's probably a better approach - I'll do that.
Or you could just define new functions which operate on bytea if you're just
storing binary data.
I don't understand what you mean with "internally" if you're storing this in
tuples?
--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Cesar Alvarez | 2007-10-13 17:23:41 | CHAR SETS |
Previous Message | Scott Ribe | 2007-10-13 15:05:22 | Re: can I define own variables? |