Re: create type question - Mailing list pgsql-general

From Stephan Szabo
Subject Re: create type question
Date
Msg-id 20030512135530.V15441-100000@megazone23.bigpanda.com
Whole thread Raw
In response to create type question  (John DeSoi <jd@icx.net>)
List pgsql-general
On Mon, 12 May 2003, John DeSoi wrote:

> I would like to create a new column type that just holds a text string
> (a lisp form). My only reason for creating a type is so that I can
> distinguish this field type from text fields and perform some extended
> processing when they are read by the client.
>
> Below is my first (newbie) attempt. Do I really have to do write
> something in C to accomplish this? Is there any kind of type "alias"
> feature?

You might just want to make a domain, something like:
 create domain lisp as text;


pgsql-general by date:

Previous
From: John DeSoi
Date:
Subject: create type question
Next
From: Kathy Zhu
Date:
Subject: ctrl+C