Schema
Owner
albenard
Tablespace
(default)
Descriptions
HVS: la sélection porte sur idlc_methode_selection et / ou idmesure ; ces 2 champs peuvent être vides et ne sont donc pas not null.
Columns
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
idselection |
serial |
|
nextval('selection_geno_idselection_seq'::regclass) |
|
|||
|
idlc_methode_selection |
integer |
|
|
|
|
|
|
|
idgeno |
integer |
|
|
|
|
||
|
idmesure |
integer |
|
|
|
|
|
|
|
|
annee |
integer |
|
|
|
|
|
|
|
mois |
integer |
|
|
|
|
|
|
|
geno_lieu |
varchar(1) |
|
|
|
|
|
|
|
age_mesure |
integer |
|
|
|
|
|
|
|
commentaire |
text |
|
|
|
|
|
|
|
recup_nom_geno |
varchar(50) |
|
|
|
|
|
|
|
recup_code_selection |
varchar(50) |
|
|
|
|
|
|
|
recup_nom_mesure |
varchar(50) |
|
|
|
|
|
|
idunite |
integer |
|
|
|
|
avril 2008. Separation mesure et unite |
|
|
|
idmes_old |
integer |
|
|
|
|
avril 2008. Provisoire. ancien indice des mesures |
Foreign Keys
Name | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
idlc_methode_selection |
id_lc |
No Action |
No Action |
|
Immediate |
|
||
idgeno |
idgeno |
No Action |
No Action |
|
Immediate |
|
||
idmesure |
idmesure |
No Action |
No Action |
|
Immediate |
|
||
idunite |
idunite_mesure |
Restrict |
Restrict |
|
Immediate |
|
Check Constraints
There are no check constraints for table selection_geno
Indices
Name | Type | Function | Columns | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
idselection |
|
Triggers
There are no triggers for table selection_geno
Rules
There are no rules for table selection_geno
Policies
There are no policies for table selection_geno
Referenced
There are no tables referenced by table selection_geno
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
22015 |
Pages |
266 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.selection_geno (
idselection SERIAL,
idlc_methode_selection INTEGER,
idgeno INTEGER NOT NULL,
idmesure INTEGER,
annee INTEGER,
mois INTEGER,
geno_lieu VARCHAR(1),
age_mesure INTEGER,
commentaire TEXT,
recup_nom_geno VARCHAR(50),
recup_code_selection VARCHAR(50),
recup_nom_mesure VARCHAR(50),
idunite INTEGER,
idmes_old INTEGER,
CONSTRAINT pk_selection_geno PRIMARY KEY(idselection),
CONSTRAINT fk_metode_selection FOREIGN KEY (idlc_methode_selection)
REFERENCES public.donnees_liste_classique(id_lc)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT fk_selection_geno_genotype FOREIGN KEY (idgeno)
REFERENCES public.genotype(idgeno)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT fk_selection_geno_mesure FOREIGN KEY (idmesure)
REFERENCES public.mesure(idmesure)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT unite_mesure FOREIGN KEY (idunite)
REFERENCES public.unite_mesure(idunite_mesure)
ON DELETE RESTRICT
ON UPDATE RESTRICT
NOT DEFERRABLE
) ;
COMMENT ON TABLE public.selection_geno
IS 'HVS: la sélection porte sur idlc_methode_selection et / ou idmesure ; ces 2 champs peuvent être vides et ne sont donc pas not null.';
COMMENT ON COLUMN public.selection_geno.idunite
IS 'avril 2008. Separation mesure et unite';
COMMENT ON COLUMN public.selection_geno.idmes_old
IS 'avril 2008. Provisoire. ancien indice des mesures';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) |