Re: convert binary string to datum

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 19:22:34
Message-ID: 87tzouu8ed.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:

> My first thought was to just do something like:
>
> CREATE TYPE __full_key AS ( n bytea, e bytea, d bytea );
>
> CREATE OR REPLACE FUNCTION
> generate_rsa_key( )
> RETURNS
> __full_key

Oh, incidentally you probably don't want to name your type starting with an _.
Postgres names array types starting with _ so that's likely to confuse
something and if not something then at least someone.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Peterson 2007-10-13 23:53:18 Re: convert binary string to datum
Previous Message Gregory Stark 2007-10-13 19:01:59 Re: convert binary string to datum