Creating a new type - Mailing list pgsql-admin

From Ferdinand Smit
Subject Creating a new type
Date
Msg-id 200209161237.49806.ferdinand@telegraafnet.nl
Whole thread Raw
List pgsql-admin
Hi,

How can a create a new type or alias?

I want to create a alias for the text type. The alias name must be blob.
(MySQL type).
The documentation tells me how to create en new type, but don't tell me how to
create the input and output functions.

Type definition:
CREATE TYPE blob (INPUT = blob_in, OUTPUT = blob_out, ELEMENT = text);

Regards,
Ferdinand



pgsql-admin by date:

Previous
From: dima
Date:
Subject: Re: Problem starting postmaster
Next
From: "Gaetano Mendola"
Date:
Subject: Re: fsync or fdatasync