Re: Data Types - Mailing list pgsql-novice

From Oliveiros d'Azevedo Cristina
Subject Re: Data Types
Date
Msg-id 316D8F1BDEA349169C8B43F573CF0B1E@marktestcr.marktest.pt
Whole thread Raw
In response to Data Types  (ALT SHN <i.geografica@alt-shn.org>)
List pgsql-novice
Why don't you use a separate table "species" with an associative table in between "species" and "Paleosites" ?
 
Is there any reason preventing it I am missing?
 
Best,
Oliveiros
 
----- Original Message -----
From: ALT SHN
Sent: Friday, November 05, 2010 3:17 PM
Subject: [NOVICE] Data Types

Hello List,

I have a column of a table of paleontological sites named "Paleosites" wich has a column named "species". A paleosite can contain remais of one or more animals. So in that column sometimes I have to put this: dinossauria crocodilia plantae. This indicates that from a given paleosite were retrieved the remais of 3 different species.

Now my question is: wich data type should the column "Species" be? Text? Varchar?

Thank you in advance,

Best Regards,

André Mano

--
---------------------------------------------------------------
Associação Leonel Trindade
SOCIEDADE DE HISTÓRIA NATURAL

Apartado 25 2564-909 Torres Vedras Portugal
Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560 Torres Vedras

Laboratório de Paleontologia e Paleoecologia: Polígono Industrial do Alto do Ameal 2565-641 Ramalhal
http://alt-shn.blogspot.com
www.alt-shn.org

pgsql-novice by date:

Previous
From: ALT SHN
Date:
Subject: Data Types
Next
From: Andreas Kretschmer
Date:
Subject: Re: Data Types