Re: convert binary string to datum - Mailing list pgsql-general

From Gregory Stark
Subject Re: convert binary string to datum
Date
Msg-id 87tzouu8ed.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: convert binary string to datum  (Ron Peterson <ron.peterson@yellowbank.com>)
Responses Re: convert binary string to datum
List pgsql-general
"Ron Peterson" <ron.peterson@yellowbank.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

pgsql-general by date:

Previous
From: Gregory Stark
Date:
Subject: Re: convert binary string to datum
Next
From: "Martin Gainty"
Date:
Subject: Re: can I define own variables?