Defining aliases for types. Can it be done?

From: Stephen Ingram <ingram(at)samsix(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Defining aliases for types. Can it be done?
Date: 2001-12-15 22:04:02
Message-ID: 20011215221158.TBFV16381.femail38.sdc1.sfba.home.com@there
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


Hi,

If I have a field in a table, say

streetname varchar(50) NOT NULL

Is there any (easy :) ) way to 'alias' the varchar(50) to a user defined type
like 'streettype' ?

Cheers

steve

Browse pgsql-novice by date

  From Date Subject
Next Message Josh Berkus 2001-12-15 22:14:23 Re: Import DB from DOS- dbase4
Previous Message Fernando M. Maresca 2001-12-15 21:50:01 Import DB from DOS- dbase4