Skip site navigation (1) Skip section navigation (2)

Re: can I define a hyperlink as a datatype

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Kumar S <ps_postgres(at)yahoo(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: can I define a hyperlink as a datatype
Date: 2004-09-14 23:18:18
Message-ID: 200409141618.18122.josh@agliodbs.com (view raw or flat)
Thread:
Lists: pgsql-novice
Kumar,

>  is there a way to define a hyperlink as a datatype.
>
> I want to store hyperlink for an FTP site as my data
> link. Is this possible or it is good to define it as
> varchar.

You can just use TEXT.    If you want to get really sophisticated, you can 
define a DOMAIN to check for proper format.

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

pgsql-novice by date

Next:From: Oliver FrommeDate: 2004-09-15 09:19:28
Subject: Re: can I define a hyperlink as a datatype
Previous:From: Josh BerkusDate: 2004-09-14 23:07:16
Subject: Re: Serial datatype clarification

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group