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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

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